[CentOS] another sed question...
Craig White
craigwhite at azapple.comFri May 30 16:33:56 UTC 2008
- Previous message: [CentOS] Fastest 4.6 -> 5.1 upgrade path
- Next message: [CentOS] another sed question...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Looking to change a yml file (yaml is a database type file) *** from --- !ruby/object:Right attributes: name: Personnel Admin action: index id: "1" controller: assessments --- !ruby/object:Right attributes: name: Personnel Admin action: find id: "2" controller: assessments *** to --- !ruby/object:Right attributes_1: name: Personnel Admin action: index id: "1" controller: assessments --- !ruby/object:Right attributes_2: name: Personnel Admin action: find id: "2" controller: assessments where I'm taking the 'id:' field from each record and inserting an underscore and the id into the 'attributes' label directly above. Any takers? Thanks Craig
- Previous message: [CentOS] Fastest 4.6 -> 5.1 upgrade path
- Next message: [CentOS] another sed question...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list