File: testpageurls

package info (click to toggle)
adzapper 20080508-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 380 kB
  • ctags: 30
  • sloc: perl: 3,565; sh: 124; makefile: 48
file content (12 lines) | stat: -rwxr-xr-x 194 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
#

iflag=-i
case $1 in +i) iflag=; shift ;; esac

if [ "x$*" = x- ]
then  cat
else  pageurls $iflag -x ${1+"$@"}
fi \
| squid_redirect -v 2>&1 1>/dev/null \
| grep '^[A-Z][A-Z0-9_]* '