Skip to main content
24 events
when toggle format what by license comment
Apr 25, 2015 at 19:48 answer added nisetama timeline score: 7
Mar 14, 2014 at 7:31 answer added deaks timeline score: 1
Nov 22, 2013 at 18:34 answer added Jasio timeline score: 1
Mar 1, 2013 at 16:17 answer added curx timeline score: 3
Feb 28, 2013 at 18:50 history edited rahmu CC BY-SA 3.0
deleted 23 characters in body
Feb 28, 2013 at 16:40 history post merged (destination)
Feb 28, 2013 at 16:21 answer added l0b0 timeline score: 2
Feb 28, 2013 at 16:20 comment added Gilles 'SO- stop being evil' If the input is a pipe, see unix.stackexchange.com/questions/66408/…
Feb 28, 2013 at 16:09 comment added derobert One thing is that it doesn't need to be convenient and easy to remember, you just have to put it in your .bashrc, or as a script in $HOME/bin, etc.
Feb 28, 2013 at 16:07 answer added Jander timeline score: 4
Feb 28, 2013 at 16:01 answer added Stéphane Chazelas timeline score: 10
Feb 28, 2013 at 14:46 history edited Bernhard
edited tags
Feb 28, 2013 at 14:42 comment added Bernhard @Gilles Thanks for the hint, didn't find that one. Only the mentioned solutions don't work with a pipe. E.g. if I do ./lotsofoutput | first_last - it will only perform the head operation.
Feb 28, 2013 at 14:41 comment added vonbrand @Bernhard, I'm no sed(1) expert, but there are ways of stashing stuff away for later use with it. Maybe it pays off to look in there. OTOH, I'd probably whip up a Perl (or whatever) script to do it if used frequently, as I'm more familiar with that.
Feb 28, 2013 at 14:36 comment added Bernhard @vonbrand Problem is that I don't know N
Feb 28, 2013 at 14:33 comment added vonbrand Your solution looks fine to me. If you want more convenience, make it into a shell function (even an alias might do).
Oct 1, 2012 at 5:47 vote accept mtk
Sep 21, 2012 at 23:14 history edited Gilles 'SO- stop being evil'
edited tags
Sep 21, 2012 at 12:02 answer added Stéphane Chazelas timeline score: 22
Sep 21, 2012 at 12:01 history tweeted twitter.com/#!/StackUnix/status/249116065945243648
Sep 21, 2012 at 10:00 comment added mtk That is the part of my log file. I was trying to be elaborative. You can ignore that.
Sep 21, 2012 at 9:44 answer added rush timeline score: 12
Sep 21, 2012 at 9:40 comment added daisy What's global conditions, and doesn't head and tail works for you?
Sep 21, 2012 at 9:22 history asked mtk CC BY-SA 3.0