File: revup

package info (click to toggle)
wcstools 3.9.7-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,684 kB
  • sloc: ansic: 113,336; sh: 553; makefile: 245; lisp: 86; sed: 1
file content (10 lines) | stat: -rwxr-xr-x 135 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
while test $1
    do
    a=$1
    b=$1x
    mv $a $b
    sed -f revup.sed $b >$a
    echo $1 updated
    /bin/rm $b
    shift
    done