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 -->
#
1
(
permalink
)
07-24-2008
melanie_pfefer
Registered User
Join Date: Nov 2006
Posts: 234
awk on a string
Hi
I am trying to do
Code:
awk -F: '{print $3}' a:b:c
to get c.
awk however expects a file:
Code:
awk: can't open a:b:c
any idea?
Last edited by radoulov; 07-24-2008 at
09:28 AM
.. Reason: added code tags
melanie_pfefer
View Public Profile
Find all posts by melanie_pfefer
Find melanie_pfefer's past nominations received
Find melanie_pfefer's present nominations given