File: gen_text.sh

package info (click to toggle)
tup 0.7.11-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 19,096 kB
  • sloc: ansic: 220,754; sh: 18,917; perl: 184; python: 67; lisp: 63; makefile: 62
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/ $//'