3 ssam \- stream interface to sam
24 (standard input default) to the standard output, edited by a script of
27 When the script starts, the entire input is selected.
30 option causes the script to be taken from file
41 option suppresses the default output.
46 Print first 10 lines of file.
48 .B ssam 'y/[a-zA-Z]+/ c/\en/' *.ms
49 Print one word per line.
51 .B ssam 's/\en\en+/\en/g'
52 Delete empty lines from standard input.
54 .B ssam 's/UNIX/& system/g'
55 Replace every instance of
60 .B ssam 'y/[a-zA-Z]+/ c/\en/' | grep . | sort | uniq -c
61 Count frequency of words read from standard input.
70 ``The text editor sam''.
72 Ssam consumes all of standard input before running the script.