Re: bash functions

1999-05-08 Thread Mathias Wegner
| more The "|" is the pipe command, which will pipe the ourput of the first command into the input of the second command. More is a program which will display things one screen at a time. Less is actually a better program that more, because you can scroll back up using the arrow keys or pageup/

Re: bash functions

1999-05-08 Thread Kent West
[EMAIL PROTECTED] wrote: > > On 8 May, André Bell wrote: > > Does bash contain a pause feature other than control-z? > > > > When I type 'help' the screen scrolls past and control-z doesn't stop the > > top few lines from scrolling away before I can read them. with dos I'd > > just type 'dir /p'

Re: bash functions

1999-05-08 Thread deblists
On 8 May, André Bell wrote: > Does bash contain a pause feature other than control-z? > > When I type 'help' the screen scrolls past and control-z doesn't stop the > top few lines from scrolling away before I can read them. with dos I'd > just type 'dir /p' or type ' |more' > > Are there equiva

Re: bash functions

1999-05-08 Thread André Bell
William R Pentney wrote: >However, the "less" command is more powerful - it lets you move back and >forth through the file, search it, etc: > >Type "man less" for more info. I must have installed something incorrectly because 'man less' says: "can't open the manpath configuration file /etc/manpat

Re: bash functions

1999-05-08 Thread William R Pentney
On Sat, 8 May 1999, [iso-8859-1] André Bell wrote: Ctrl-Z isn't really a pause feature, actually. What it does is suspend a process. You can use the "more" command in bash, too: cat filename | more(replace filename with file) man subject | more (replace subject with manual page) However,

Re: bash functions

1999-05-08 Thread Peter Makholm
André Bell <[EMAIL PROTECTED]> writes: > Does bash contain a pause feature other than control-z? try: $ command | less where "command" is what you want to do. -- Peter er den mindst gamle af de gammeldags usenettere, og moderator på den eneste modererede gruppe i dk.*, so there.

Re: bash functions

1999-05-08 Thread André Bell
Does bash contain a pause feature other than control-z? When I type 'help' the screen scrolls past and control-z doesn't stop the top few lines from scrolling away before I can read them. with dos I'd just type 'dir /p' or type ' |more' Are there equivalent set of commands for bash? Thanks! An

Re: bash functions

1999-05-08 Thread Wayne Topa
Subject: bash functions Date: Fri, May 07, 1999 at 10:27:23PM -0800 In reply to:[EMAIL PROTECTED] Quoting [EMAIL PROTECTED]([EMAIL PROTECTED]): > Reply-To: > While doing some reading, I came across a section regarding adding functions > to .bash_profile like this > tarc () { ta

Re: bash functions

1999-05-08 Thread Havoc Pennington
On Fri, 7 May 1999 [EMAIL PROTECTED] wrote: > While doing some reading, I came across a section regarding adding functions > to .bash_profile like this > tarc () { tar -cvzf $1.tar.gz $1 } > but whenever I try to source the .bash_profile I get syntax error, unexpected > EOF messages. Just move