An interesting sort problem
Ian Malone
ibmalone at gmail.com
Fri Nov 13 22:20:57 UTC 2015
On 13 November 2015 at 18:32, Ian Malone <ibmalone at gmail.com> wrote:
> On 13 November 2015 at 16:54, jd1008 <jd1008 at gmail.com> wrote:
>>
>>
>> On 11/12/2015 07:38 PM, Michael Hennebry wrote:
>>>
>>> Awk can do what you want:
>>> {
>>> lines[NR]=$NF " " $0
>>> }
>
> No missing quotes. It's an awk program, not a bash one, $0 is a bash
> variable.
Apparently my brain and my typing move at different speeds, "$0" here
is an *awk* variable, as poc also points out.
--
imalone
http://ibmalone.blogspot.co.uk
More information about the users
mailing list