keep whitespace around lines
This commit is contained in:
parent
e0ad4ca875
commit
7be386ede4
@ -1,22 +1,22 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Do not modify headers
|
# Do not modify headers
|
||||||
while read line && [ -n "$line" ]; do
|
while IFS='\n' read line && [ -n "$line" ]; do
|
||||||
printf "%s\n" "$line"
|
printf "%s\n" "$line"
|
||||||
done
|
done
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
||||||
read line || exit 0
|
IFS='\n' read line || exit 0
|
||||||
while true; do
|
while true; do
|
||||||
if [ "${line% wrote:}" != "$line" -o "${line%,}" != "$line" ]; then
|
if [ "${line% wrote:}" != "$line" -o "${line%,}" != "$line" ]; then
|
||||||
printf "%s\n" "$line"
|
printf "%s\n" "$line"
|
||||||
read line || exit 0
|
IFS='\n' read line || exit 0
|
||||||
fi
|
fi
|
||||||
while [ -n "$line" ]; do
|
while [ -n "$line" ]; do
|
||||||
printf "%s\n" "$line"
|
printf "%s\n" "$line"
|
||||||
read line || exit 0
|
IFS='\n' read line || exit 0
|
||||||
done | par $* | sed 's/$/ /;$s/ $//'
|
done | par $* | sed 's/$/ /;$s/ $//'
|
||||||
read line || exit 0
|
IFS='\n' read line || exit 0
|
||||||
if [ -z "$line" ]; then
|
if [ -z "$line" ]; then
|
||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user