CaKiwi, here's my explanation on my second question. I have a file XXXXXXX that needs to be renamed by extracting line2 & line3 of the file .
line1:CEIVDE:TC2000FIN line2:TOL:D62857...
Thanks for your replies CaKiwi,sorry I was out for the last few days. I was able to resolve the situation mentioned above.
I need your help on the usage of SKIP command. I need to skip say, first five lines,how do I do it?
Secondly, how do I rename a file based on the content of certain field ...
I have a patten like the one below, I need to search each field and replace the caracter if it meets a criteria
for example on line 1 below ,I'll search for a 1 , I'll check if its euqal to 1 ,if yes,don't do anything if not, replace the character with a "X" .
I also will leave the...
Could anyone help on "how to compare two fields from two different lines.
For example in the file below,
compare field 13(which is a "1") on line 1 with filed 1 of line 4 (which is "2") and replace field 13 with the outcome of comparison.
. . . . . . . . . . . . 1 . 1 1...
I have two files that read like below.
a. I need to create a third file that is output in the same format as the two files after comapring the individual fields ,
for example comparison $3 of file1 is 7 and file2 is 1. Since they are not equal I'd like to output a "1" if not a...
A. I need to set a loop to compare ascii characters in fields from two different files and create a third file which has a result of the comparison in the same field .
B.how to limit the comparison to certain ASCII characters( say 0-20 and ignore comparison if a certain character say , a...
Hello , thanks for respoding..
when I run this on two files that has similar lines ( fields separated by tab) like:
......
111111
......
I don't get a :
equal
equal
eqaul
instead the third file is blank....
Also,
a.how do a conert a file that has a ascii string like:
297890012
in to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.