weechat/bin/wee: refactor
This commit is contained in:
parent
1faf64ad3d
commit
3eba54ab33
|
@ -13,8 +13,7 @@ rd() {
|
|||
if [ -t 0 ]; then
|
||||
cat $@
|
||||
else
|
||||
while read -r line
|
||||
do
|
||||
while read -r line; do
|
||||
echo $line
|
||||
done
|
||||
fi | sed '/^ *\(#\|$\)/ d;s/^/*/g'
|
||||
|
|
Loading…
Reference in a new issue