File: oldfilter

package info (click to toggle)
open-adventure 1.20-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,484 kB
  • sloc: ansic: 3,792; python: 892; sh: 295; makefile: 208
file content (28 lines) | stat: -rwxr-xr-x 685 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/sh
#
# Filter the output from advent430 to make it compatible with
# newer ones
sed \
    -e '/ *$/s///' \
    -e '/bridge now spans the fissure/s//bridge spans the fissure/' \
    -e '/imbedded/s//embedded/' \
    -e '/persian/s//Persian/' \
    -e '/swiss/s//Swiss/' \
    -e '/eying/s//eyeing/' \
    -e '/threshhold/s//threshold/' \
    -e '/AXE/s//axe/' \
    -e '/BAR/s//bar/' \
    -e '/BOO/s//boo/' \
    -e '/DOING/s//doing/' \
    -e '/EW/s//ew/' \
    -e '/FROB/s//frob/' \
    -e '/GRATE/s//grate/' \
    -e '/NAGGING/s//nagging/' \
    -e '/RUB/s//rub/' \
    -e '/SOMETHING/s//something/' \
    -e '/ground/s//surface/' \
    -e '/floor/s//surface/' \


#end