[LUGOS] Shell replacement

Gregor Gorjanc gregor.gorjanc at bfro.uni-lj.si
Wed Oct 5 10:45:35 CEST 2005


Blaz Podrzaj wrote:
> Hoj,
> 
> Za potrebe nekih testov bi rabil nekakšen shell, ki bi vračal na terminal
> isto kar bi mu jaz poslal. Recimo jaz vpišem blabla <ENTER>, shel pa mi
> vrne nazaj blabla. Trenutno nimam ideje kako bi to naredil (čisto prazna
> glava)...
> 
> lp,B
> 
> _______________________________________________
> lugos-list mailing list
> lugos-list at lugos.si
> http://liste2.lugos.si/cgi-bin/mailman/listinfo/lugos-list


#!/bin/bash
read KRNEKI
echo $KRNEKI

Za več o read:
help read
man bash

-- 
Lep pozdrav / With regards,
    Gregor Gorjanc

----------------------------------------------------------------------
University of Ljubljana     PhD student
Biotechnical Faculty
Zootechnical Department     URI: http://www.bfro.uni-lj.si/MR/ggorjan
Groblje 3                   mail: gregor.gorjanc <at> bfro.uni-lj.si

SI-1230 Domzale             tel: +386 (0)1 72 17 861
Slovenia, Europe            fax: +386 (0)1 72 17 888

----------------------------------------------------------------------
"One must learn by doing the thing; for though you think you know it,
 you have no certainty until you try." Sophocles ~ 450 B.C.
----------------------------------------------------------------------


More information about the lugos-list mailing list