[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
editfiles and replacing on one line
From: |
Viraj Alankar |
Subject: |
editfiles and replacing on one line |
Date: |
Sun, 6 Nov 2005 16:28:53 -0500 |
Hello,
Is it possible to do the following with editfiles:
I have in /etc/fstab:
...
/dev/sda2 /tmp ext3
defaults,nosuid,nodev,noexec 1 2
...
I would like to remove ',noexec' from this line only. I thought of
using LocateLineMatching to find the line, but am not sure how to do
the replacement.
Thanks for the help,
Viraj.
- editfiles and replacing on one line,
Viraj Alankar <=