[linux] Re: shellvraagje...

Hans Paijmans j.j.paijmans op uvt.nl
Di Dec 27 15:59:01 CET 2005


Paul Slootman wrote:
> On Wed 21 Dec 2005, Hans Paijmans wrote:
>>>>Sectest> grep 200 typenlijst_glas | read vorm type ; echo $type
>>>Probeert u eens: 
>>>	grep 200 typenlijst_glas | ( read vorm type ; echo $type )
>>Nog eeen vraagje: hoe krijg ik $vorm en $type herkend buiten
>>de haakjes?
> 
> Ik zou het zo doen....
> 
> set -- `grep 200 typenlijst_glas`
> vorm=$1
> type=$2

COOL!




-- 
Dr. J.J. Paijmans
thuis: Elzenstraat 1, Waalre, 040-2230680    http://paijmans.net
Tilburg University, Faculty of Arts,        Dept. of Linguistics & AI
Tilburg, Netherlands (+31) (0)13-4662693    http://pi0959.kub.nl
+31 621 961 083



More information about the Linux mailing list