The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 1 of 1
Search took
0.00
seconds.
Search:
Posts Made By:
gaur84
Forum:
Shell Programming and Scripting
05-12-2010
8
Extracting a string matching a pattern from a line
36,383
Posted By
gaur84
You can extract the word from this scripts ...
You can extract the word from this scripts
awk '{for(i=1;i<=NF;i++) {if($i ~/[0-9]/) {print $i}}}' filename
Showing results 1 to 1 of 1
Member Badges and Information Modal
×