Search Results

Search: Posts Made By: xan.amini
11,877
Posted By xan.amini
Join fields from files with duplicate lines
I have two files,

file1.txt:
1 abc
2 def
2 dgh
3 ijk
4 lmn

file2.txt
1 opq
2 rst
3 uvw

My desired output is:
1 abc opq
2 def rst
2 dgh rst
3 ijk uvw
1,671
Posted By xan.amini
Thanks everybody! It works perfectly.:D
Thanks everybody! It works perfectly.:D
1,671
Posted By xan.amini
Sorry for not making myself clear: The actual...
Sorry for not making myself clear:
The actual names of the directories are:
"File Reader (#53)"
"CSV Writer (#47)"
"Scorer (#22)"

but to just make it simple we can rename them to:
"dir1...
1,671
Posted By xan.amini
SED question
I have the following string:
"File Reader"

I also have a list of directories:
"File Reader (#53)"
"CSV Writer (#47)"
"Scorer (#22)"

I want to search the name of each directory until I...
1,037
Posted By xan.amini
Instead of using ">>" try just using ">" ">>" ...
Instead of using ">>" try just using ">"
">>" adds to the file while ">" will overwrite.
Showing results 1 to 5 of 5

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