koniec suboru

Petr Cech cech na atrey.karlin.mff.cuni.cz
Čtvrtek Březen 4 09:49:57 CET 1999


satko na quanto.uniag.sk napsal:
> > no v DOSu to bylo Ctrl-Z (nebo takhle se mi to aspon ukazuje v nekolika
> > DOSovych souborech prohlizenych ve vi. V Linuxu/Unixu IMHO neni.
> uhm. no lenze script ma 18 riadkov a on mi hadze error na 19 riadku, ze
> nema koniec suboru. 
chybejici strednik?

if [ -f /etc/passwd ]; then
   rm /etc/passwd
else
   bye
[cech ~]$ sh test.sh
test.sh: test.sh: line 5: syntax error: unexpected end of file

				Petr Cech 
--
 /    mailto: cech na atrey.karlin.mff.cuni.cz    \
|   PGP: finger cech na atrey.karlin.mff.cuni.cz	|
 \      C75B671E75117038  43BE6B9AC09C3318     /


Další informace o konferenci Linux