Search Results

Search: Posts Made By: Killer420
1,820
Posted By Yoda
Assuming 2 files list1 and list2 has list in same...
Assuming 2 files list1 and list2 has list in same line:
# cat list1
abc jones oracle smith ssm tty

# cat list2
abc jones lmn smith ssm xyz
Here is a solution in BASH using only built-ins: ...
1,820
Posted By Subbeh
Why do you need a loop for this? You can...
Why do you need a loop for this?

You can loop over the output of the comm command:
comm -13 list1 list2 | while read l ; do echo $l ; doneOr use something like this:
while read list2 ; do
...
1,820
Posted By Subbeh
comm -13 list1 list2
comm -13 list1 list2
2,025
Posted By Don Cragun
Match a string starting at the beginning of the...
Match a string starting at the beginning of the string (^) consisting of 5 sequences ((...){5}) of one or more (+) non pipe symbols ([^|]) followed by one or more pipe symbols ([|]+) followed by...
Showing results 1 to 4 of 4

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