Ralph Corderoy writes:
>> I was hoping to get a list of all aliases, each alias/group on
>> a single line.
>
>A quick look at the output of ‘ali’, though not its source,
>suggests every line which continues with another ends with a comma,
>and they're the only lines ending with a comma.
>
>    ali | sed ':l; /,$/{N; s/,\n/,/; bl}'

Wow. That's perfect. Thanks!  (I've forgotten most of my sed since I learned
perl)

--hymie!

Reply via email to