1
0
mirror of https://github.com/PDP-10/its.git synced 2026-01-11 23:53:12 +00:00

Use POSIX option -n for head and tail commands.

This commit is contained in:
Lars Brinkhoff 2024-07-29 07:20:25 +02:00
parent 3d7f25f61a
commit 4a42d94c13

View File

@ -106,8 +106,8 @@ done
cd "$tmp/tape2"
tap="$home/diffs.tap"
head -1 "$diffs" | xargs itstar cvf "$tap"
tail +2 "$diffs" | xargs itstar rvf "$tap"
head -n 1 "$diffs" | xargs itstar cvf "$tap"
tail -n +2 "$diffs" | xargs itstar rvf "$tap"
itstar rvf "$tap" _temp_/upgrade.xfile
rm "$diffs"