[ale] Question on Regex or sed

Chuck Payne terrorpup at gmail.com
Mon Jul 8 18:00:16 EDT 2013


I did an update, but when I run, I notice that it placed an extra , on the end.

I been searching have a very bad headache from it, looking for how to
remove that extra ,

The problem is from the following string

city, state

I tried this before doing my search

sed 's'/\,//g'

That removed the first common

city st,

I remember that you need to use ^ $, so what is it that I need to
remove that common on the end.

Sorry, I am not good at regex, so I need a bit of help.

--
Terror PUP a.k.a
Chuck "PUP" Payne

(678) 636-9678
-----------------------------------------
Discover it! Enjoy it! Share it! openSUSE Linux.
-----------------------------------------
openSUSE -- en.opensuse.org/User:Terrorpup
openSUSE Ambassador/openSUSE Member
Community Manager -- Southeast Linux Foundation (SELF)
skype,twiiter,identica,friendfeed -- terrorpup
freenode(irc) --terrorpup/lupinstein
Register Linux Userid: 155363

Have you tried SUSE Studio? Need to create a Live CD,  an app you want
to package and distribute , or create your own linux distro. Give SUSE
Studio a try. www.susestudio.com.
See you at Southeast Linux Fest, June 7-9, 2013 in Charlotte, NC.
www.southeastlinuxfest.org


More information about the Ale mailing list