1

Awk command with two source files

view story
linux-howto

http://www.unix.com – Hello, I have two source files: sourcefile1.dat: Code: 12345 xxx yyy zzz 23456 qqq ttt rrr 34567 ppp jjj ggg 45678 fff ddd sss 56789 nnn mmm ccc sourcefile2.dat: Code: 12345.gif 34567.gif I want to obtain a simple awk one linger to obtain the following: Code: xxx yyy zzz 12345.gif qqq ttt rrr none.gif ppp jjj ggg 34567.gif fff ddd sss none.gif nnn mmm ccc none.gif Thanks so much! (HowTos)