[ale] regex assistance

brock at quantifier.org brock at quantifier.org
Thu Jan 23 13:09:17 EST 2014


Hello, linux neighbors,

I am a regular expression amateur.  I have a text file with a bunch of 
numbers, which looks like this:

00
01
02
03
04

and I need to convert it, so that each number is on one line, and 
separated with the | pipe, so:

00 | 01 | 02 | 03 | 04

If it's not too much trouble, could someone script-fu something up to 
solve my problem?

Thanks much,
Robert


More information about the Ale mailing list