On 2007-06-18 11:33, Olivier Regnier <[EMAIL PROTECTED]> wrote:
> I founded solution with awk command and that works well.
>
> cat /usr/local/etc/pkgtools.conf | awk '{ sub(/^[ \t]*MAKE_ARGS = {/,
> "&\n\t\x27ports-mgmtp/portupgrade\x27 =>
> \x27WITH_BDB4=1\x27,\n\t\x27sysutils/fastest_csvsup\x27
On 2007-06-18 12:28, Nikos Vassiliadis <[EMAIL PROTECTED]> wrote:
> Last but not least, do you have use csh? It's not recommend for
> scripting.
This must be the most sensible thing I've read in the entire thread.
Quoting rules aside, tcsh is a nice interactive shell, but there are far
too many
Nikos Vassiliadis a écrit :
On Saturday 16 June 2007 16:35, Olivier Regnier wrote:
Olivier Regnier a ιcrit :
Nikos Vassiliadis a ιcrit :
On Friday 15 June 2007 13:29, Olivier Regnier wrote:
Hi everybody,
Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh
sc
On Saturday 16 June 2007 16:35, Olivier Regnier wrote:
> Olivier Regnier a ιcrit :
> > Nikos Vassiliadis a ιcrit :
> >> On Friday 15 June 2007 13:29, Olivier Regnier wrote:
> >>> Hi everybody,
> >>>
> >>> Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh
> >>> script, i trying to execut
Nikos Vassiliadis wrote:
On Friday 15 June 2007 15:24, Olivier Regnier wrote:
Nikos Vassiliadis a écrit :
On Friday 15 June 2007 13:29, Olivier Regnier wrote:
Hi everybody,
Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh script,
i trying to execute this command :
On Friday 15 June 2007 15:24, Olivier Regnier wrote:
> Nikos Vassiliadis a écrit :
> > On Friday 15 June 2007 13:29, Olivier Regnier wrote:
> >> Hi everybody,
> >>
> >> Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh script,
> >> i trying to execute this command :
> >> sed -e "s/MAKE_
Nikos Vassiliadis a écrit :
On Friday 15 June 2007 13:29, Olivier Regnier wrote:
Hi everybody,
Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh script, i
trying to execute this command :
sed -e "s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail/nbsmtp' =>
'WITH_IPV6=1 WITH_SSL=1',/" >
On Friday 15 June 2007 13:29, Olivier Regnier wrote:
> Hi everybody,
>
> Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh script, i
> trying to execute this command :
> sed -e "s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail/nbsmtp' =>
> 'WITH_IPV6=1 WITH_SSL=1',/" > /usr/local/etc/pkgtool
Hi everybody,
Actually, i'm working on FreeBSD 6.2 and csh shell. With a sh script, i
trying to execute this command :
sed -e "s/MAKE_ARGS\([^{]*\){/MAKE_ARGS\1{\n\t'mail/nbsmtp' =>
'WITH_IPV6=1 WITH_SSL=1',/" > /usr/local/etc/pkgtools.conf
The result is not correct, i have an error :
sed: 1: