File: dlsearchresult

package info (click to toggle)
rccp 0.5-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 164 kB
  • ctags: 40
  • sloc: ansic: 827; sh: 127; perl: 112; makefile: 66
file content (9 lines) | stat: -rwxr-xr-x 253 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/sh
#CCCP script by hampa@chello.se
#usage (you need to pipe to this script):
#./cccp -s "*my search querey*1" | ./dlsearchresult

while read -r line
do
echo $line | awk -F\| '{printf("\"*%s**%s*\"\n", $1, $2)}' | xargs -n1 -exec cccp -O -d
done