Search Results

Search: Posts Made By: Seth
1,629
Posted By vgersh99
awk -v ln="${line}" 'NR==ln' PhraseList.txt I'm...
awk -v ln="${line}" 'NR==ln' PhraseList.txt
I'm curious if you need a shell loop around awk - I'm pretty sure you can get away with the purely awk implementation.
Depends on what you're doing...
1,629
Posted By nezabudka
You need to enclose the expression in double...
You need to enclose the expression in double quotes
awk "NR==$line"
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:08 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy