| # | Line 18 | Line 18 | if ( "$argv[1]" == "-a" ) then | |
|---|---|---|
| 18 | shift argv | |
| 19 | endif | |
| 20 | if ( $#argv != 1 ) then | |
| 21 | < | echo "Usage: $0 [-a] input.pic > output.pic" |
| 21 | > | echo "Usage: $0 [-a] input.hdr > output.hdr" |
| 22 | exit 1 | |
| 23 | endif | |
| 24 | set ifile=$1 | |
| 25 | set ibase=$ifile:t | |
| 26 | < | if ( "$ibase" =~ *.pic ) set ibase=$ibase:r |
| 26 | > | if ( "$ibase" =~ *.hdr ) set ibase=$ibase:r |
| 27 | set ibase=$ibase:t | |
| 28 | onintr quit | |
| 29 | pextrem -o $ifile > $tf0 | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |