3

displaying a column in horizontal line separated by ', '

view full story
linux-howto

http://www.unix.com – Code: cat my.log blah blah blah < 1  djfh jsdfhk jksdfh < 2  dshkfl opeir pqowi < 4 khasd wouipeui say i am perfroming some action similar to below... Code: cat my.log | egrep "<" | awk -F' ' '{print $2}' | grep -v "[A-Za-z]" it gives output as below Code: 1 2 4 is there anyway to modify above same command so that output is displayed like below [CODE]1, 2, 4/CODE] (HowTos)