Index: [Article Count Order] [Thread]

Date:  Tue, 11 Apr 2006 23:32:54 -0400
From:  "Brian N. Smith" <brian (at mark) nuonce.net>
Subject:  [coba-e:04587] Re: [testing] New Installer and Updater
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <006201c65de1$c9562a90$1e64a8c0 (at mark) nuonce.net>
References:  <008c01c65de4$13ea32c0$3701a8c0@lapxp>
X-Mail-Count: 04587

>> >> perl -pi -e "s/#//" /etc/yum.repos.d/BlueQuartz-Base.repo
>
> Could you explain actually what this comand does?

Perl is a programming language
-pi  < used for editing a file, I foget what each is.  Do "man perl" for 
more info.

-e < execute the following

"s/#//" <= swap # for '' (nothing)

filename to edit.

Basically it is a quick way to edit a file, with out using pico / vi ... 
that way it can be automated.

~Brian