Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
molinari
on Feb 12, 2011
|
parent
|
context
|
favorite
| on:
Exercise #1: Learning awk Basics
I usually pipe through a whitespace-to-single-tab command. So
echo '1 2 3 4' | sp2tab | cut -f2
would be equivalent to
echo '1 2 3 4' | awk '{print $2}'
but quicker to write.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: