File: stateless-check.sed

package info (click to toggle)
clisp 1%3A2.27-0.5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 49,860 kB
  • ctags: 20,752
  • sloc: ansic: 123,781; lisp: 67,533; asm: 19,633; xml: 11,766; sh: 9,788; fortran: 8,307; makefile: 3,570; objc: 2,481; perl: 1,744; java: 341; yacc: 318; sed: 117
file content (20 lines) | stat: -rw-r--r-- 828 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Sed script for tests/stateless-check editing.
/set -e/ a\
# For systems with severe filename restrictions\
# allow for an alternate filename.\
UNAME=${UNAME-`uname 2>/dev/null`}\
case X$UNAME in\
  *-DOS) filename=`echo "$charset" | sed "s|ISO-|ISO/|; \\\
                                          s|Mac|Mac/|; \\\
                                          s|Georgian-|Georgian/|"`\
         tmp_filename=`echo "$filename" | sed "s|/|/tmp-|"`\
         tmp_orig_filename=`echo "$filename" | sed "s|/|/tmp-orig-|"` ;;\
  *)     filename="$charset"\
         tmp_filename="$charset"\
         tmp_orig_filename="$charset" ;;\
esac
s|/"\$charset"|/"$filename"|g
s|tmp-"\$charset"|"${srcdir}"/"$tmp_filename"|g
s|tmp-orig"\$charset"|"${srcdir}"/"$tmp_orig_filename"|g
s|\.INVERSE\.|.INVERSE-|g
s|\.IRREVERSIBLE\.|.IRREVERSIBLE-|g