On 9/28/06, MOROIANU Dragos wrote:
Am dat de o comportare surprinzatoare a lui less in
urmatoarele conditii:
1. shell: tcsh
2. in fisierul de initializare .cshrc am o singura
linie ce contine
echo ciuciu

Cu aceste 2 conditii, less nu mai vrea sa mearga. La
apel imi da urmatorul mesaj:
lap08 /lap08/soft> less ttt.txt
ciuciu: No such file or directory

http://www.nevis.columbia.edu/linux/faq.html#less

In RedHat Linux, less has a facility to display other types of files
in addition to plain text. For example, if you type:
less /usr/local/src/archive-tar/gcc-2.95.2.tar.gz
you will see a list of the compressed files in gcc-2.95.2.tar.gz,
instead of binary garbage. However, to enable this facility, less has
to invoke a sub-shell. If that sub-shell writes anything to standard
output, you'll see that output instead of your file.


Vezi linkul si pentru rezolvare.


George

_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui