Search Results

Search: Posts Made By: Atrisa
4,596
Posted By Atrisa
Thanks a lot Franklin52. Ah, the end bracket '}'...
Thanks a lot Franklin52. Ah, the end bracket '}' for print was missing, so you might want to edit it:)
4,596
Posted By Atrisa
But that removes the first column. I want all 4...
But that removes the first column. I want all 4 columns. thanks.
4,596
Posted By Atrisa
Merge two files with two columns being similar
Hi everyone. How can I merge two files, where each file has 2 columns and the first columns in both files are similar? I want all in a file of 4 columns; join command removes the duplicate columns.
...
1,313
Posted By Atrisa
Thanks everyone. JavaHater's command did the...
Thanks everyone. JavaHater's command did the trick. thanks again.
1,313
Posted By Atrisa
print records where an ID appears more than once
Hi everyone! I have something like the following records in a file:

ID: 1
Name: A
Age: 23

ID: 2
Name: B

ID: 1
Activity: Climbing

ID: 3
Name: C

ID: 3
Activity: Skating

I want...
5,072
Posted By Atrisa
Thanks a lot. How come I didn't think of that!...
Thanks a lot. How come I didn't think of that! Then ignore my last question:). Thanks again.
5,072
Posted By Atrisa
Thanks radoulov. For some reason I had to do...
Thanks radoulov. For some reason I had to do small changes for it to work. You probably know the reason:)

awk > ouput.txt '/Age:/ && /Email:/' RS='\n\n' input.txt

If I want to put only the...
5,072
Posted By Atrisa
Grep specific records from a file of records that are separated by an empty line
Hi everyone.

I am a newbie to Linux stuff. I have this kind of problem which couldn't solve alone. I have a text file with records separated by empty lines like this:

ID: 20
Name: X
Age: 19
...
Showing results 1 to 8 of 8

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