Feb 5, 2007 #1 kubabuk Technical User Jan 31, 2007 4 GB Hi there, This should be fairly simple. How can I read a value from the second line in first column? thanks kuba
Hi there, This should be fairly simple. How can I read a value from the second line in first column? thanks kuba
Feb 5, 2007 #2 feherke Programmer Aug 5, 2002 9,540 RO Hi Something like this ? Code: [blue]master #[/blue] echo "1 2 3 4 5 6 7 8 9 " | awk 'NR==2{print$1}' 4 Feherke. http://rootshell.be/~feherke/ Upvote 0 Downvote
Hi Something like this ? Code: [blue]master #[/blue] echo "1 2 3 4 5 6 7 8 9 " | awk 'NR==2{print$1}' 4 Feherke. http://rootshell.be/~feherke/
Feb 5, 2007 Thread starter #3 kubabuk Technical User Jan 31, 2007 4 GB Thanks a lot, Feherke that works! Upvote 0 Downvote