I tried set separator -F: in here.
awk -F "{print $1}" /etc/passwd
But its not effects...
Then I found out use '{…}' instead of "{…}'. It's works good!
So what's difference in '{…}' and "{…}" for awk? Thank you!!
I tried set separator -F: in here.
awk -F "{print $1}" /etc/passwd
But its not effects...
Then I found out use '{…}' instead of "{…}'. It's works good!
So what's difference in '{…}' and "{…}" for awk? Thank you!!