[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] regex assistance
- Subject: [ale] regex assistance
- From: brock at quantifier.org (brock at quantifier.org)
- Date: Thu, 23 Jan 2014 13:09:17 -0500 (EST)
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