File: makegopherindex

package info (click to toggle)
gopher 2.3-2
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 2,364 kB
  • ctags: 2,030
  • sloc: ansic: 22,451; perl: 1,950; sh: 1,510; makefile: 397; 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