Hi,
On 25/06/2015 08:09, hoize wrote:
> I want to uncomment a line in a file, for example:
>
> */root/.bashrc*
> # export LS_OPTIONS='--color=auto'
>
>
> *after change:*
> export LS_OPTIONS='--color=auto'
Maybe this (not tested):
file_line { 'uncomment-line-in-bashrc':
path=> '/ro
Hi Garrett,
do you mean to add the lines again, with file_line? I thought about this
option, too.
It would be a great way to uncomment this lines, but if it is easier with
file_line, I will do it so.
Am Donnerstag, 25. Juni 2015 09:08:44 UTC+2 schrieb Garrett Honeycutt:
>
> On 6/25/15 2:09 AM
On 6/25/15 2:09 AM, hoize wrote:
> Hello!
>
> I want to uncomment a line in a file, for example:
>
> _/root/.bashrc_
> # export LS_OPTIONS='--color=auto'
>
>
> _after change:_
> export LS_OPTIONS='--color=auto'
>
> After some searching for a solution, I found the Augeas-Tool and then
> the Aug
Hello!
I want to uncomment a line in a file, for example:
*/root/.bashrc*
# export LS_OPTIONS='--color=auto'
*after change:*
export LS_OPTIONS='--color=auto'
After some searching for a solution, I found the Augeas-Tool and then the
Augeas-Shellvar-Provider.
So I tried it:
shellvar { "expor