[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Switchboard: The Internet Directory - YellowPages - WhitePages - PhoneBook
- To: Leonid Leibman <http://www.raqia.com/~leonidl>
- Subject: Re: Switchboard: The Internet Directory - YellowPages - WhitePages - PhoneBook
- From: http://dummy.us.eu.org/robert (robert)
- Date: Mon, 10 Sep 2001 16:41:17 -0400
- In-Reply-To: <bgW9YC.A.feE.rMSn7@bedap>
- Keywords: http://www.raqia.com/~leonidl
> From: Leonid Leibman <http://www.raqia.com/~leonidl>
> Date: Mon, 10 Sep 2001 15:24:29 -0400
>
> robert wrote:
>
>
> > Do you know why one would use $$ and then a number in an
> awk code?
>
> Only if it were embedded in another script. At least, to my
> knowledge.
>
> Like what for example (if it's not too difficult).
% cat > test
1 1 2 3 4
2 1 2 3 4
3 1 2 3 4
^D
% awk '{print $$1,$0}' < test
1 1 1 2 3 4
1 2 1 2 3 4
2 3 1 2 3 4