Search Results

Search: Posts Made By: 10000springs
10,711
Posted By durden_tyler
Here's a short Perl program that does that - ...
Here's a short Perl program that does that -


#perl -w
$pattern = "file*"; # process only those files that match pattern "file*"
while (defined ($in = glob($pattern)))...
10,711
Posted By Franklin52
You could try to escape the "%": gawk...
You could try to escape the "%":
gawk "NR\%3==0"
10,711
Posted By methyl
Isn't the Escape in MSDOS Batch %% ? Have...
Isn't the Escape in MSDOS Batch %% ?

Have you tried:

gawk "NR%%3==0" FileIn > FileOut
10,711
Posted By durden_tyler
I noticed that Cygwin's gawk works as expected on...
I noticed that Cygwin's gawk works as expected on my system -


C:\>
C:\>type file1.in
this is line 1 in file1.in ...
this is line 2 in file1.in ...
this is line 3 in file1.in ...
this...
Showing results 1 to 4 of 4

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