bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

question


From: JOSE LUIS RICARDO-CHAVEZ
Subject: question
Date: Wed, 12 Nov 2003 17:27:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031016


Hello,

is there a simple bash equivalent to the following ksh code:

set -A ntype $(sed -n '6 p' $file)

Where ntype is an array variable initialized with the contents of line #6 of $file?

Thanks in advance,

- Jose Luis

--
José Luis RICARDO-CHAVEZ Tel. +33-5-61-55-68-33 Laboratoire de Physique Quantique Fax +33-5-61-55-60-65 Université Paul Sabatier 118 route de Narbonne
F-31062 Toulouse, France

e-mail: ricardo@irsamc.ups-tlse.fr







reply via email to

[Prev in Thread] Current Thread [Next in Thread]