~mdw
/
adns
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
regression tests: Properly handle adnshost et al exit status
[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