2021-05-06 23:53:06 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
# Do not modify headers
|
2021-07-11 12:44:19 +02:00
|
|
|
while IFS='\n' read line && [ -n "$line" ]; do
|
2021-05-06 23:53:06 +02:00
|
|
|
printf "%s\n" "$line"
|
|
|
|
done
|
|
|
|
printf "\n"
|
|
|
|
|
2021-07-11 12:44:19 +02:00
|
|
|
IFS='\n' read line || exit 0
|
2021-05-06 23:53:06 +02:00
|
|
|
while true; do
|
2021-05-18 23:51:52 +02:00
|
|
|
if [ "${line% wrote:}" != "$line" -o "${line%,}" != "$line" ]; then
|
2021-05-06 23:53:06 +02:00
|
|
|
printf "%s\n" "$line"
|
2021-07-11 12:44:19 +02:00
|
|
|
IFS='\n' read line || exit 0
|
2021-05-06 23:53:06 +02:00
|
|
|
fi
|
|
|
|
while [ -n "$line" ]; do
|
|
|
|
printf "%s\n" "$line"
|
2021-07-11 12:44:19 +02:00
|
|
|
IFS='\n' read line || exit 0
|
2021-05-06 23:53:06 +02:00
|
|
|
done | par $* | sed 's/$/ /;$s/ $//'
|
2021-07-11 12:44:19 +02:00
|
|
|
IFS='\n' read line || exit 0
|
2021-05-06 23:53:06 +02:00
|
|
|
if [ -z "$line" ]; then
|
|
|
|
exit 0
|
|
|
|
else
|
|
|
|
printf "\n"
|
|
|
|
fi
|
|
|
|
done
|