Search Results

Search: Posts Made By: windows
3,072
Posted By windows
Thank you dear otheus it worked fine. I did...
Thank you dear otheus

it worked fine. I did it without ' head -1' since i need all the matches for both $a and $b

BUT..

if $a has more than 1 match in data.txt, it wont be printed in...
3,072
Posted By windows
reading from 2 files through while loop
hi
i have two files

cat input.txt
123456| 43256
456482|5893242

cat data.txt
xv 123456 abcd dsk
sd 123456 afsfn dd
df 43256 asdf ff
ss 456482 aa
sf 5893242 ff ff
aa 5893242 aa aa
...
2,794
Posted By windows
printing with awk through while loop
ive input file contains to clums a and b spreated by pipe
a | b
123|456
323|455

and
xyz contains other info about a and b

now i want to print as follows:

a | b | "info from xyz"

but...
4,167
Posted By windows
Thank you jim mcnamara it worked...
Thank you jim mcnamara

it worked "somehow", but now i ve a nother problem
ive input file contains to clums a and b spreated by pipe
a | b
123|456
323|455

and
xyz contains other info...
4,167
Posted By windows
reading from two files line by line
hi
am having two files

more file1
a
b
c
d

more file2
a
b
c
d

i need a loop to read the 1st line from file1 and 1st line from file 2 and grep them from file3. Then go read the...
Showing results 1 to 5 of 5

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