projects
/
wiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
966da65
)
don't need []
author
Philip Durbin
<philipdurbin@gmail.com>
Tue, 3 Jul 2012 19:29:27 +0000
(15:29 -0400)
committer
Philip Durbin
<philipdurbin@gmail.com>
Tue, 3 Jul 2012 19:29:27 +0000
(15:29 -0400)
awk.mdwn
patch
|
blob
|
history
diff --git
a/awk.mdwn
b/awk.mdwn
index 54bda861ea19a8cd11774fb51c6471fd5b76acca..ca228b2acfa50367d8dbc9d24cbaf526aababbf1 100644
(file)
--- a/
awk.mdwn
+++ b/
awk.mdwn
@@
-1,6
+1,6
@@
reordering and reformatting tab separated output:
- [pdurbin@beamish ~]$ echo -e "foo\tbar\tbaz" | awk -F'
[\t]
' '{printf("%s %s (%s)\n",$2, $3, $1)}'
+ [pdurbin@beamish ~]$ echo -e "foo\tbar\tbaz" | awk -F'
\t
' '{printf("%s %s (%s)\n",$2, $3, $1)}'
bar baz (foo)
http://www.grymoire.com/Unix/Awk.html