Search Results

Search: Posts Made By: shellignorant
1,989
Posted By shellignorant
hey i changed it to as follows nawk -F'/' ' ...
hey i changed it to as follows
nawk -F'/' '
FNR%2 {printf $0;next}
{print OFS (($1/$2==1) ? "PASS" : "FAIL")}' myFile and then it worked
1,989
Posted By shellignorant
it is showing fail for all values :(
it is showing fail for all values :(
1,989
Posted By shellignorant
thanks for the reply, i did read the rules. to...
thanks for the reply, i did read the rules. to clarify, this is not homework! I do have different set of requirements and i have masked it to be this.
It would be good, if i could read the...
1,989
Posted By shellignorant
parsing a file and manipulating the contents
Hi
I have a text file as follows

BOB
14/14
TOM
94/94
SAM
3/3
CRIS
13/13
TOM
6/6
CRIS
27/27
SAM
2/2
JACK
25/25
CRIS
Showing results 1 to 4 of 4

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