Differences From Artifact [8d7d4ebd6d]:
- Executable file mttroot/mtt/bin/trans/mtt_p2m — part of check-in [87b97b367a] at 1998-08-12 15:53:38 on branch origin/master — More on concatenating lines - keeps going until ; or $ found. (user: gawthrop@users.sourceforge.net, size: 310) [annotate] [blame] [check-ins using]
To Artifact [bf57433f38]:
- Executable file mttroot/mtt/bin/trans/mtt_p2m — part of check-in [98b92713ca] at 1998-08-13 08:35:40 on branch origin/master — extended end of line regexp to include . and # (user: gawthrop@users.sourceforge.net, size: 317) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | - + |
#! /bin/sh
sed 's/begin//' |\
sed 's/end//' |\
sed 's/\[\([0-9,]*\)\]/(\1)/g' |\
sed 's/:=/ = /' |\
awk '{
sub(/^[\ ]*/, "", $0)
sub(/\$$/, ";", $0)
|
| ︙ |