Feb 5, 2007 #1 kubabuk Technical User Joined Jan 31, 2007 Messages 4 Location 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 Joined Aug 5, 2002 Messages 9,541 Location 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 Joined Jan 31, 2007 Messages 4 Location GB Thanks a lot, Feherke that works! Upvote 0 Downvote