shithub: sm2

Download patch

ref: cb5a3fb8adad1c7f32d4d7ea26f01fa7078829ea
parent: 76c797f758b3491e00c3e9a714087452228bf78b
author: qwx <[email protected]>
date: Fri Sep 10 19:43:08 EDT 2021

sm2ger: at least check cwd

--- a/bin/sm2ger
+++ b/bin/sm2ger
@@ -1,4 +1,6 @@
 #!/bin/rc -e
+p=$user/p/sm2/ger
+cd $p
 shl <db | sed 20q >>db0
 grep -v `"{awk '{print $5}' db0 | tr '
 ' '|' | sed 's/\|$//;s/\|/\| /g;s/^/ /'} db >db00