You are not logged in.

#1 2009-04-29 07:01:38

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Offline

#2 2009-04-29 07:14:56

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: Command Line Foo

A very nice tip! Thanks for sharing.

Offline

#3 2009-04-29 07:21:40

Wilco
Member
Registered: 2008-11-09
Posts: 440

Re: Command Line Foo

Cool,  and I thought I was a real badass command line user

Offline

#4 2009-04-29 07:27:55

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: Command Line Foo

we featured an article about it in the newsletter about a year ago: http://www.archlinux.org/static/newslet … tipstricks

Offline

#5 2009-04-29 07:54:17

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Command Line Foo

oops must have missed that my bad!


Mr Green

Offline

#6 2009-04-29 09:07:33

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Command Line Foo

No offense, Mr Green, but do you not think Archers would, or should, already know most of the 13 tips in your second link? They're kinda basic. smile

Offline

#7 2009-04-29 09:48:13

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,893
Website

Re: Command Line Foo

well you never know lol.... I will look for some better ones ok tongue


Mr Green

Offline

#8 2009-04-29 10:14:02

Aprz
Member
From: Newark
Registered: 2008-05-28
Posts: 277

Re: Command Line Foo

Hm. In the second link

perl -i -pe 's/foo/bar/gi' *  search through * and replace all foo with bar

I would've used sed instead.

sed -i s/foo/bar/ *

Offline

Board footer

Powered by FluxBB