KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm trying to learn to use awk but it's not behaving how I expect. Here's my trouble: $ echo "Hello brave new world" | awk "{print $1}" Hello brave new world I expected to see "Hello", as this is the first field. Why don't the spaces count as field delimiters?
Tags (comma-separated)
Save Edits
Cancel