Difference: LinuxFAQ (3 vs. 4)

Revision 42015-03-03 - WilliamSeligman

Line: 1 to 1
 
META TOPICPARENT name="Computing"

Nevis Linux Cluster FAQ

Line: 127 to 127
 

Why does less do this?

Changed:
<
<
In Redhat-flavored Linux, less has a facility to display other types of files in addition to plain text. For example, if you type:
less ${NevisAppBase}/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.
>
>
In Redhat-flavored Linux, less has a facility to display other types of files in addition to plain text. For example, if you type:
less /usr/nevis/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.
 

Kerberos

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback