Re: [OT] Bash & fonction
On Fri, Sep 14, 2001 at 02:40:05PM +0200, frederic massot wrote:
Salut,
> #!/bin/sh
>
> function extract()
> {
> /usr/bin/awk '
>
> BEGIN { RS = "\n"; FS = " " }
>
> {
> if($11 ~ /\?/ && $11 !~ "http://www.juliana-multimedia.com")
> {
> gsub("\"","")
> printf("%s]\t%s %s\t%s\n",$4,$6,$7,$11)
> }
> }
> ' ;
$1 entre le ' et le ; ;)
A+
--
Igor Genibel
http://www.tuxfamily.org/ igor@tuxfamily.org
http://people.debian.org/~igenibel igenibel@debian.org
GPG: 1024D/9D735B4F: 4F61 8D8F 05AC 8D2C 5F92 9B99 C44B 0266 9D73 5B4F
Reply to: