The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
awk on a string
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
awk on a string
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
07-24-2008
mph
Registered User
Join Date: Mar 2006
Posts: 58
For a string try this:
Code:
assuming: var="a:b:c" echo "$var" | awk -F: '{print $3}'
mph
View Public Profile
Find all posts by mph
Find mph's past nominations received
Find mph's present nominations given