diff options
author | BurnZeZ <brz-9dev@feline.systems> | 2017-07-17 04:56:09 +0000 |
---|---|---|
committer | BurnZeZ <brz-9dev@feline.systems> | 2017-07-17 04:56:09 +0000 |
commit | eee7357c2778a65a3ecf552ac44b9a419e6e92d9 (patch) | |
tree | 368e9a62591fa2e7d1eb029a3dc57f85340631f1 /rc | |
parent | 37e0d4ab29c8483aab727b76effaec009b650153 (diff) |
hpost: delimit @filenames by newline so files with whitespace aren’t mangled
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/hpost | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rc/bin/hpost b/rc/bin/hpost index b161d931b..cbea99f32 100755 --- a/rc/bin/hpost +++ b/rc/bin/hpost @@ -67,7 +67,8 @@ fn menc { } for(i in $af){ k=`{sed 's!@.*$!!; q' /env/i} - v=`{sed 's!^[^@]+@!!' /env/i} + ifs=' +' v=`{sed 's!^[^@]+@!!' /env/i} t=`{file -m $v} n=`{basename $v} echo '--'$"f$"cr |