W
Wybo Dekker
according to the rio-docs I would expect it to be possible to edit a file
on-the-fly; for example, I tried to make a copy of /etc/passwd with my own
name (wybo) replaced with XXXX:
rio('/etc/passwd').gsub(/wybo/,'XXXX') > rio('new')
but the resulting file "new" is an exact copy of /etc/passwd.
What am I doing wrong?
on-the-fly; for example, I tried to make a copy of /etc/passwd with my own
name (wybo) replaced with XXXX:
rio('/etc/passwd').gsub(/wybo/,'XXXX') > rio('new')
but the resulting file "new" is an exact copy of /etc/passwd.
What am I doing wrong?