|  | 
 NAME     
 |  |  |  | ssam – stream interface to sam 
 | 
 SYNOPSIS     
 |  |  |  | ssam [ −n ] [ −e script ] [ −f sfile ] [ file ... ] 
 | 
 DESCRIPTION     
 |  |  |  | Ssam copies the named files (standard input default) to the standard
    output, edited by a script of sam commands (q.v.). When the script
    starts, the entire input is selected. The −f option causes the
    script to be taken from file sfile. If there is a −e option and
    no −f, the flag −e may be omitted. The −n option suppresses the
    default output. | 
 EXAMPLES     
 |  |  |  | ssam −n ,10p file 
 ssam 'y/[a−zA−Z]+/ c/\n/' *.ms|  |  |  | Print first 10 lines of file. 
 | 
 ssam 's/\n\n+/\n/g'
 
 ssam 's/UNIX/& system/g'|  |  |  | Delete empty lines from standard input. 
 | 
 
 ssam 'y/[a−zA−Z]+/ c/\n/' | grep .|  |  |  | Replace every instance of UNIX by UNIX system. 
 | 
 
 |  |  |  | Count frequency of words read from standard input. 
 | 
 | 
 SOURCE     
 SEE ALSO    
 BUGS     
 |  |  |  | Ssam consumes all of standard input before running the script. 
 | 
 |  |