[LUGOS] Shell replacement

Boštjan Müller neonatus at neonatus.net
Wed Oct 5 10:46:27 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

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

Ena Perljava resitev:

#!/usr/bin/perl

while (1) {
  $rez = <STDIN>;
  print $rez;
}


- --
Regards/Lep pozdrav

Boštjan Müller
- --
[*]    Bostjan Müller |n at neonatus.net| http://n.neonatus.net/     [*]
[*] PGP key --> finger: neonatus at neonatus.net, DSA id: 0x9B2FF108 [*]
[*]           Celular: +38641243189, ICQ #:7506644                [*]
     Software is like sex- the best is for free" -Linus Torvalds
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)

iD8DBQFDQ5LjGPt2q5sv8QgRA7ERAKCbzX1Np4UbkAzjRdWf5pxls/v91gCfY7Yx
IDo0XcW7MS3CVviD1BBPKtM=
=t0TI
-----END PGP SIGNATURE-----


More information about the lugos-list mailing list