File: printmans

package info (click to toggle)
magic 8.3.105%2Bds.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 17,128 kB
  • sloc: ansic: 175,615; sh: 7,634; tcl: 4,536; lisp: 2,554; makefile: 946; cpp: 587; python: 389; csh: 148; awk: 140
file content (9 lines) | stat: -rwxr-xr-x 104 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
#!/bin/csh -f

set cmd=($1)
shift argv

foreach i ($argv)
    echo cat $i \| $cmd
    cat $i | $cmd
end