hpost: delimit @filenames by newline so files with whitespace aren’t mangled

This commit is contained in:
BurnZeZ 2017-07-17 04:56:09 +00:00
parent 37e0d4ab29
commit eee7357c27

View file

@ -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