X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=tab_c99.sh;h=7d8e4fd658233cb187d5d573f416333fc68b0f0c;hb=53cc8cf9654e51bb57ada6344ef46c0e1442a8f9;hp=f9cfad2b67c5b5483ec77635d8913432ffb0d43c;hpb=1f1533550ec7771be11ee2206b80960b7a0f717d;p=musl-tables diff --git a/tab_c99.sh b/tab_c99.sh index f9cfad2..7d8e4fd 100755 --- a/tab_c99.sh +++ b/tab_c99.sh @@ -1,7 +1,7 @@ #!/bin/sh export LC_ALL=C -MUSL=../musl +MUSL=${MUSL:-../musl} ( cd $MUSL; git log -n1 ) | awk ' BEGIN { @@ -9,7 +9,7 @@ BEGIN { hash = $2 getline - commit = "
commit " hash "" + commit = "
commit " hash ""
while (getline == 1)
commit = commit "
" $0
@@ -25,7 +25,7 @@ BEGIN {
if ($2 ~ /bits\//)
s = $3 " "
else
- s = "" $3 " "
+ s = "" $3 " "
kind[$1] = kind[$1] $3
kindstr[$1] = kindstr[$1] s
}