Date: Tue, 19 Jun 2007 18:02:58 +0200 From: Olivier Regnier <oregnier@oregnier.net> To: freebsd-questions@freebsd.org Subject: problem with printf in a shell script Message-ID: <4677FE32.9040703@oregnier.net>
next in thread | raw e-mail | index | archive | help
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 :) Can you help me please ? Thank you :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4677FE32.9040703>