has_many => apps, :through => :ubuntu
Maintain By:
Jin-Kang Cheng (
jk_dot_cheng_at_mygnus_dot_net
)
Pages
Home
About Me
Sponsorship
Jan 29, 2010
Substitute Strings in Files with Ruby
Uses a list of regular expressions and replacement strings to make changes in text files.
Put in file "edit-all.rb" and run with
ruby edit-all.rb *.txt
Now accepts the target and the replacement from the command line or from the keyboard.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment