[ale] help with sed and regex

Chuck Payne terrorpup at gmail.com
Tue Jul 26 11:33:59 EDT 2016


Leam,

Your example works, thanks.

What I had was

flSunshine
flHeat
flBeaches

So yes I was trying to get

fl_Sunshine
fl_heat
fl_Beaches

On Tue, Jul 26, 2016 at 11:03 AM, DJ-Pfulio <djpfulio at jdpfu.com> wrote:
> I'd use 'rename' ... please post before and after examples.  Also, what
> character set is this? Anything funny about the locale?  UTF8, UTF16, UTF32 or
> something else? Perl regex handles these things, but you have to tell it correctly.
>
> On 07/26/2016 10:43 AM, Chuck Payne wrote:
>> Guys,
>>
>> I am still weak on regex. So I have a question. I got a list of
>> directories that I need to add _ too. It should be as the first two
>> character are lower for the state and then the Client name is a Upper
>> Case  character. What is the best way to do that?
>>
>>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
> See JOBS, ANNOUNCE and SCHOOLS lists at
> http://mail.ale.org/mailman/listinfo



-- 
Terror PUP a.k.a
Chuck "PUP" Payne
-----------------------------------------
Discover it! Enjoy it! Share it! openSUSE Linux.
-----------------------------------------
openSUSE -- Terrorpup
openSUSE Ambassador/openSUSE Member
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.


More information about the Ale mailing list