Timeline for What's the difference between print and head?
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 7, 2014 at 23:46 | answer | added | vonbrand | timeline score: 1 | |
| Mar 7, 2014 at 21:40 | comment | added | Graeme |
Note that along with the list above, awk also has builtin functions - here is a list for gawk (GNU awk) cs.utah.edu/dept/old/texinfo/gawk/gawk_13.html. Among them is the system function which can be used to run arbitrary programs/commands, although generally there are better solutions than to use this.
|
|
| Mar 7, 2014 at 21:04 | answer | added | Stéphane Chazelas | timeline score: 3 | |
| Mar 7, 2014 at 20:53 | history | edited | user1766760 | CC BY-SA 3.0 |
Update with reference based on comments
|
| Mar 7, 2014 at 20:50 | comment | added | user1766760 |
@devnull Thanks - I never realized that awk has a specific, and very limited set of commands... shame on me I'll have to add it to my reading list.
|
|
| Mar 7, 2014 at 19:31 | comment | added | goldilocks | Me thinks devnull summed this up. | |
| Mar 7, 2014 at 19:29 | comment | added | devnull |
head isn't an awk command.
|
|
| Mar 7, 2014 at 19:28 | comment | added | goldilocks |
@manatwork : Yeah, bang on. I don't use awk much but it just occurred to me that print is internal. Throw up an answer if you're sure.
|
|
| Mar 7, 2014 at 19:25 | history | asked | user1766760 | CC BY-SA 3.0 |