Search Results

Search: Posts Made By: raptor25
4,147
Posted By raptor25
Nice. Thank You
Nice. Thank You
4,147
Posted By raptor25
Need help removing last character of every line if certain character
I need help removing the last character of every line if it is a certain character. For example I need to get rid of a % character if it is in the last position.

Input:
aaa%
%bbb
ccc
d%dd%
...
5,597
Posted By raptor25
It is only 2gigs but for some reason it uses more...
It is only 2gigs but for some reason it uses more than 8gigs of memory
5,597
Posted By raptor25
It should get the lines in file1.txt not found in...
It should get the lines in file1.txt not found in file2.txt For example:

File1:

000
555
aaa
ccc
jjj
zzzFile 2:

000
ccc
111
hhh
vvvwhen I run the command it should get:

555
aaa...
5,433
Posted By raptor25
Thanks for your all of your help and suggestions....
Thanks for your all of your help and suggestions. That sort -m seems to work the best.
5,597
Posted By raptor25
find lines in file1.txt not found in file2.txt memory problem
I have a diff command that does what I want but when comparing large text/log files, it uses up all the memory I have (sometimes over 8gig of memory)


diff file1.txt file2.txt | grep '^<'| awk...
5,433
Posted By raptor25
Thanks for the reply, but that doesn't seem to be...
Thanks for the reply, but that doesn't seem to be working. It could be I am doing it wrong. Could you explain what that nawk command is doing?
5,433
Posted By raptor25
Insert a line in a sorted text file(s)
Hello,

I am trying to add a line (usually just a word) to some text files in a directory that are already sorted. I just don't want to run the sort command again because it can take a long time...
Showing results 1 to 8 of 8

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