diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-13 20:07:54 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2023-01-13 20:08:38 -0700 |
commit | ce6717ee00d5d70d2c3688a5d3c1292229196daf (patch) | |
tree | ab0f435e7f1e19d7d9776b0f02ef4d189a85ecac /bin/hstow | |
parent | 3256bc2ce259a77f5718e83bd4d87a67455aeb26 (diff) | |
download | dotfiles-ce6717ee00d5d70d2c3688a5d3c1292229196daf.tar.gz |
hstow: disjoin_hstow_file: skip blank lines
Diffstat (limited to 'bin/hstow')
-rwxr-xr-x | bin/hstow | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -47,7 +47,7 @@ fi disjoin_hstow_file () { if [ -e "$DIR/$1" ]; then while read -r line; do - printf "|$2" "$line" + [ -n "$line" ] && printf "|$2" "$line" done <"$DIR/$1" | cut -c2- fi } |