Article View: news.software.readers
Article #15824Re: how do I get it?
From: Hans Mulder
Date: Tue, 07 Mar 1995 15:30
Date: Tue, 07 Mar 1995 15:30
36 lines
1879 bytes
1879 bytes
In <3javk0$l8k@fcca.fcca.csi.com> raj@plasma (Raj Karamchedu) writes:
>Randal L. Schwartz (merlyn@stonehenge.com) wrote:
>: >>>>> "James" == James Goetz u <goet8570@mach1.wlu.ca> writes:
>: James> cat /dev/null | more
>: This is a Useless Use Of Cat. This should be:
>: more /dev/null
>: Or, you could do this with perl as:
>: perl -e 'exec "more /dev/null"'
>What's wrong? :(
>plasma{235}more /dev/null
>/dev/null is not a regular file
You have aliased "more" to "less". "Less" is generally more
usable than "more", but it suffers from this strange aversion
against irregular files. Use:
\more /dev/null
or
perl -e 'exec "more /dev/null"'
The perl "exec" operator passes its argument to the Bourne shell,
so it is unaffected by your aliases.
--
Not speaking for the Campaign Against Gratuitous Abuse of `Cat',
HansM print 1->[@{!@!}=q\Just another dog catcher,\,<=>]
Technical Details
Message-ID:
<3jhu6b$13p@wsinti05.win.tue.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!bga.com!news.sprintlink.net!EU.net!sun4nl!news.nic.surfnet.nl!tuegate.tue.nl!news.win.tue.nl!news.win.tue.nl!not-for-mailReferences:
<3iv8uv$9vi@usenet.srv.cis.pitt.edu> <D4q3t5.B1x@info.uucp> <MERLYN.95Feb28214434@linda.teleport.com> <3javk0$l8k@fcca.fcca.csi.com>Show Full Headers
Complete Article Headers
Message-ID: <3jhu6b$13p@wsinti05.win.tue.nl> Subject: Re: how do I get it? Date: Tue, 07 Mar 1995 15:30:19 +0000 From: hansm@wsinti05.win.tue.nl (Hans Mulder) References: <3iv8uv$9vi@usenet.srv.cis.pitt.edu> <D4q3t5.B1x@info.uucp> <MERLYN.95Feb28214434@linda.teleport.com> <3javk0$l8k@fcca.fcca.csi.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.lang.perl.mbox.zip!bga.com!news.sprintlink.net!EU.net!sun4nl!news.nic.surfnet.nl!tuegate.tue.nl!news.win.tue.nl!news.win.tue.nl!not-for-mail Newsgroups: alt.sources.d,comp.lang.perl,comp.lang.tcl,news.misc,news.software.readers Organization: Campaign Against Gratuitous Abuse of `Cat' Lines: 35 Reply-To: hansm@win.tue.nl NNTP-Posting-Host: wsinti05.info.win.tue.nl