Comment on Top Unix Command Line UtilitiesparentComments−dbaupp13yIt's not too hard to do (a very basic) implementation of splitting on | and ;, e.g. sed 's/ *| */\n/g' ~/.bash_history | cut -f1 -d' ' | ... (This fails on something like "echo 'a | b'" and doesn't split correctly on |& and || and doesn't split at all on &&.)
Comments
It's not too hard to do (a very basic) implementation of splitting on | and ;, e.g.
(This fails on something like "echo 'a | b'" and doesn't split correctly on |& and || and doesn't split at all on &&.)