Skip to main content
4 events
when toggle format what by license comment
Aug 22, 2013 at 20:01 comment added Stéphane Chazelas However note that performance will be very poor on big files as anything using loops in bash, and that assumes all lines contain one @ and one _ before the left-most @ (and the other usual problems when using read with -r and without setting IFS)
Aug 21, 2013 at 8:41 comment added Joseph R. @manatwork Beautiful. I would say this merits to be in answer of its own with a short explanation perhaps...
Aug 21, 2013 at 8:25 comment added manatwork As tagged bash, parameter expansion based solution can be shorter when used on array: pastebin.com/kgq89527
Aug 21, 2013 at 8:10 history answered Joseph R. CC BY-SA 3.0