[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: missing man example
From: |
Alfred M. Szmidt |
Subject: |
Re: missing man example |
Date: |
02 Jul 2002 14:42:02 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 |
root <address@hidden> writes:
> not nessesairly echo, but it is rather lack of 'system' command
> in man and that | command can be used from within awk.
> it really helps when you do i.e.
> tail -f access_log | awk '/spies_in_space.html/ {system "nmap " $1 ">>
> /var/log/httpd/spies_in_space.html"}'
And the man pages are not the official source for documentation for
GNU utilities, info pages are. The system command for gawk is
documented in the info pages. See: (gawk)I/O Functions.
There also is an example of using | within gawk. See:
(gawk)Getline/Pipe, and also under: (gawk)Redirections.
Cheers,
--
Alfred M. Szmidt