RE : very urgent!
From: BENDRISS Elmehdi (e.bendriss_at_menara.ma)
Date: 05/28/03
- Previous message: BENDRISS Elmehdi: "very urgent!"
- Next in thread: Barry: "Netra T1 won't boot"
- Reply: Barry: "Netra T1 won't boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
To: "'Dave McNeill'" <Dave.McNeill@carltoninteractive.com>, <sunmanagers@sunmanagers.org> Date: Wed, 28 May 2003 10:16:54 -0000
Thanks ALOT!!
I used : echo "$line" | awk -F\\t '{print $2}'
Thank you again!
-----Message d'origine-----
De : Dave McNeill [mailto:Dave.McNeill@carltoninteractive.com]
Envoyi : mercredi 28 mai 2003 10:08
@ : e.bendriss@menara.ma
Objet : Re: very urgent!
Try enclosing the $line in double quotes. Like this:
echo "$line" | awk -F\t '{print $2}'
Dave
>>> "BENDRISS Elmehdi" <e.bendriss@menara.ma> 28/05/03 10:54:57 >>>
hi!
I'm using a line like :
echo $line|awk -F\t '{print $2}'
it works in the command line but not in a script : I'm trying to extract
the 2nd field of the line $line, with horizontal tabulation as
separator.
any help please?
/////
(o o)
-----------------------------------ooO---(_)---Ooo----------------------
-------------
Elmehdi BENDRISS
Administrateur Systhme email:
e.bendriss@menara.ma
Direction Internet Tel : +212
37 71 88 73
Maroc Telecom GSM: +212 61 47
47
09
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Previous message: BENDRISS Elmehdi: "very urgent!"
- Next in thread: Barry: "Netra T1 won't boot"
- Reply: Barry: "Netra T1 won't boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|