Search Results

Search: Posts Made By: guitarist684
2,411
Posted By guitarist684
MadeInGermany- This is the output I get: ...
MadeInGermany- This is the output I get:

file1 1
3
3
3
file2 4
3
3
3


Could you explain to me what it means? I don't see how it has anything to do woth what I asked.
2,411
Posted By guitarist684
Arrays in awk
Array A contains lines of numbers from files. Array B contains number of fields for each line of each file.
I want to run on array A. To do that I need to know the number of fields for each file in...
3,728
Posted By guitarist684
I want to find a way in awk only.. wc -l is bash.
I want to find a way in awk only.. wc -l is bash.
3,728
Posted By guitarist684
That doesn't really help me because I want to...
That doesn't really help me because I want to save it into a variable and use it before the END.
Any ideas?
3,728
Posted By guitarist684
Counting lines in a file using awk
I want to count lines of a file using AWK (only) and not in the END part like this awk 'END{print FNR}' because I want to use it.
Does anyone know of a way?
Thanks a lot.
5,926
Posted By guitarist684
BEGIN and END format in awk
I'm new to awk, trying to understand the basics.
I'm trying to reset the counter everytime the program gets a new file to check.
I figured in the BEGIN part it would work, but it doesn't.
...
Showing results 1 to 6 of 6

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