File: gen_text.sh

package info (click to toggle)
tup 0.8-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,076 kB
  • sloc: ansic: 256,651; sh: 19,101; perl: 184; python: 67; lisp: 63; makefile: 56
file content (2 lines) | stat: -rwxr-xr-x 244 bytes parent folder | download | duplicates (4)
1
2
#! /bin/sh -e
for j in `echo $1 | sed 's/\.html//; s/_/ /g; s/index/home/; s/^ex //'`; do echo $j | awk 'BEGIN{ORS=" "} {print toupper(substr($0, 1, 1)) substr($0, 2)}'; done | sed 's/And&nbsp/and\&nbsp/; s/Vs&nbsp/vs\&nbsp/; s/ $//'