Hello all!!
I am new to programming, and to this forum.
I am having sort of a problem. Me and my coworker are working on a code, both of us are stumped on a few things.
One is we have a whole log file, i have found how to extract by column, but not by row. I need to extract by both.
For example..
I need rows 302 - 463
and columns 53-68
This is just a small portion of the log file, but it is all i need to "compare" to another file.
i hope this is clear enough for everyone, please feel free to ask any other questions if not.
Thanks again everyone,
I have another question
I have two files, that have the same data in them excluding a few things. I want to compare these two files but they are not in the same order.
for example..
all of the data in the file looks similar to this
E00401001D011029
E00401001D01102D
etc
but they are not in the same order, and when i use the diff file.txt file2txt command it spits out a bunch of random stuff that i dont want, i just want to compare the two files and find the differances. Is there a way i can sort them so they look alike and then it will find the differances? or is there a way i can look through them and find the differances that way.
As per the requirement the requester needs to extract 53rd to 68th columns. Not the character. If it is 53rd character to 68th character the -c option is perfectly right but if it is column then I think -f is the better one.