Ticket #465 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

smart+question

Reported by: benworld Assigned to: arnaud_lb
Priority: normal Milestone: alternc-0.9.3.1
Component: Shell-scripts et binaires Version: mailman-1.5
Severity: major Keywords:
Cc:

Description

Version : do_domaines.sh,v 1.11 2005/03/10 17:30:31 benjamin Exp $

Quand on crée un sous domaine, on a cette erreur :

awk: print substr($1 awk: syntax error awk: cmd. ligne:1: print substr($1 awk: cmd. ligne:1: unexpected newline or end of string

tout pareil quand on le supprime.

ADDITIONAL INFORMATION: Simplement changer ligne 469 : INITIALE_USER=$echo $USER | $awk {'print substr($1, 1, 1)'} par : INITIALE_USER=$echo $USER | $awk '{print substr($1, 1, 1)}'

et ligne 518: INITIALE_USER=$echo $USER | $awk {'print substr($1, 1, 1)'} par : INITIALE_USER=$echo $USER | $awk '{print substr($1, 1, 1)}'

Change History

06/04/05 16:26:03 changed by arnaud_lb

j'ai pas ce problème, mais c'est vrai que le $awk {'print substr($1, 1, 1)'} est bisard. J'ai fait un essai en console, "echo test | awk {'print substr($1, 1, 1)'}" sous bash retourne une erreur, mais pas sous ksh. Peut être que le problème vient de là ?

06/09/05 23:59:02 changed by benworld

j'ai ce probleme avec ksh .... comprend pas, en tout cas, c'est pas propre

06/10/05 00:02:03 changed by arnaud_lb

  • status changed from new to closed.
  • owner changed from anonymous to arnaud_lb.
  • resolution set to fixed.
  • milestone set to 0.9.3.1.

C'est corrigé dans le CVS

10/09/06 16:15:51 changed by Martha

  • type set to defect.
  • summary changed from do_domaine.sh, impossible de creer les alias dans dns to smart+question.

10/26/06 22:36:11 changed by Samuell

10/30/06 18:36:34 changed by Winifred

10/31/06 17:56:56 changed by James

10/31/06 22:28:01 changed by Christian

11/01/06 09:07:06 changed by Anthonie