[CentOS] Scriptable way to edit yum .repo files?
R P Herrold
herrold at centos.orgThu Jan 8 03:23:56 UTC 2009
- Previous message: [CentOS] Scriptable way to edit yum .repo files?
- Next message: [CentOS] Scriptable way to edit yum .repo files?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 8 Jan 2009, Amos Shapira wrote: > I found Perl's Conf::INI module but it expects comments beginning with > ";", not "#". and | sed -e 's@^#@;@g' cannot cure that bad habit on generated files or an input stream? [herrold at centos-5 ~]$ cat - << END | sed -e 's@^#@;@g' > one > two#two > $three#three > #four;four > #five#five > ;six#six > END one two#two ;three ;four;four ;five#five ;six#six [herrold at centos-5 ~]$ -- Russ herrold
- Previous message: [CentOS] Scriptable way to edit yum .repo files?
- Next message: [CentOS] Scriptable way to edit yum .repo files?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list