2005-05-26 12:58:54 +00:00
|
|
|
|
#!/bin/sh
|
2005-06-03 11:38:49 +00:00
|
|
|
|
sed '/^+[^+]/!s/ /TaBBaT/g' |\
|
2011-04-18 22:16:24 +00:00
|
|
|
|
expand -t $(seq -s , 9 8 200) |\
|
2005-06-03 11:38:49 +00:00
|
|
|
|
sed 's/TaBBaT/ /g' |\
|
|
|
|
|
sed '/^+[^+]/s/ * $//' |\
|
|
|
|
|
tr -d '\015' |\
|
|
|
|
|
tr '\n' '<27>' |\
|
|
|
|
|
sed 's/\(@@[^@]*@@<40>[^@]*\)/\n\1/g' |\
|
|
|
|
|
egrep -v '@@[^@]*@@<40>(( [^<5E>]*<2A>)|([+-][[:space:]]*<2A>)|(-[[:space:]]*([^<5E>]*)<29>\+[[:space:]]*\5<>))*$' |\
|
|
|
|
|
tr -d '\n' |\
|
2006-04-29 16:17:50 +00:00
|
|
|
|
tr '<27>' '\n'
|