Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
hillad
on June 4, 2010
|
parent
|
context
|
favorite
| on:
Awk by example, Part 1 --
$ awk -F":" '{ print "username: " $1 "\t\tuid:" $3" }' /etc/passwd awk: { print "username: " $1 "\t\tuid:" $3" } awk: ^ unterminated string
Needs to be
$ awk -F":" '{ print "username: " $1 "\t\tuid:" $3 }' /etc/passwd
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Needs to be
$ awk -F":" '{ print "username: " $1 "\t\tuid:" $3 }' /etc/passwd