Olivier Regnier a écrit :
Hi everyone,
I want to insert text in my file, rc.conf : update_motd=NO
I tried printf in my shell script with this command :
printf update_motd=\NO\\ /etc/rc.conf
then, that works well in console but not with my shell script
I would like to insert a \n at the end :)
At 6:09 PM +0200 6/19/07, Olivier Regnier wrote:
Olivier Regnier a écrit :
Hi everyone,
I want to insert text in my file, rc.conf : update_motd=NO
I tried printf in my shell script with this command :
printf update_motd=\NO\\ /etc/rc.conf
then, that works well in console but not with my shell