chiark
/
gitweb
/
~mdw
/
adns
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
NEWS: prepare for 1.5.1
[adns]
/
regress
/
sys-rc-convert
1
#!/bin/sh
2
f=$1
3
o=${f%.sys}.out
4
rc=`sed -n '$s/^rc=//p' $o`
5
sed -e '$s/^rc=.*/rc=0/' $o >$o.new
6
mv $o.new $o
7
echo " exit $rc" >>$f