File: makegopherindex

package info (click to toggle)
gopher 3.0.3woody2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,796 kB
  • ctags: 2,008
  • sloc: ansic: 23,055; perl: 1,950; sh: 1,691; makefile: 457; asm: 1
file content (10 lines) | stat: -rwxr-xr-x 170 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

echo "Making gopherindex for data directory $2, $1 style"
echo " "

sed -e "s.GHOME.$2." -e "s/ITYPE/$1/" gopherindex.raw >gopherindex

chmod +x gopherindex