From: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
---|---|
To: | Jerome Lyles <susemail(at)hawaii(dot)rr(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org, suse-linux-e(at)suse(dot)com |
Subject: | Re: Postgresql and scripting |
Date: | 2004-09-08 10:08:57 |
Message-ID: | 1094638137.2014.30.camel@linda |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, 2004-09-08 at 00:33, Jerome Lyles wrote:
...
> Can someone point me to a sed or shell script that I can use on a text file to
> remove the whitespace between the letters in the words only? Here is the
> top of the script file as it stands now:
>
> - - C r e a t e C u s t o m e r s t a b l e
>
$ echo '- - C r e a t e C u s t o m e r s t a b l e' |
sed -e 's/\([^ ]\) \([^ ]\)/\1\2/g' -e 's/\([^ ]\) \([^ ]\)/\1\2/g' -e 's/ */ /g'
-- Create Customers table
--
Oliver Elphick olly(at)lfix(dot)co(dot)uk
Isle of Wight http://www.lfix.co.uk/oliver
GPG: 1024D/A54310EA 92C8 39E7 280E 3631 3F0E 1EC0 5664 7A2F A543 10EA
========================================
"Put on the whole armor of God, that ye may be able to
stand against the wiles of the devil."
Ephesians 6:11
From | Date | Subject | |
---|---|---|---|
Next Message | Jerome Lyles | 2004-09-08 10:23:02 | Postgresql and scripting |
Previous Message | Tore Halset | 2004-09-08 09:25:17 | Re: ERROR: canceling query due to user request |