![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| pipe broken | abir2 | UNIX and Linux Applications | 1 | 12-26-2007 11:40 PM |
| pipe broken | abir2 | Linux | 2 | 12-26-2007 08:48 PM |
| Broken Pipe | ramkrix | UNIX for Dummies Questions & Answers | 3 | 12-09-2007 12:27 PM |
| broken pipe | eloquent99 | UNIX for Dummies Questions & Answers | 3 | 03-11-2003 10:18 PM |
| broken pipe? | gusla | UNIX for Dummies Questions & Answers | 3 | 05-12-2002 02:05 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Broken Pipe
Hi
I tried to open the man page of sh and piped to `pg`. Normally while reading a file page by page using `pg`, if we wanna quit at the middle of file, we give "q" near the colon mode. Ex1: $cat file1 | pg hi how r u : (page1) now press "return key", it will go to next page yes i am fine : q (I wanna quit here and I gave q and its quit from the process normally) $ The above mentioned condition is normal My case is: $ man sh | pg User Commands sh(1) NAME sh, jsh - standard and job control shell and command inter- preter SYNOPSIS /usr/bin/sh [-acefhiknprstuvx] [argument...] --------- goes on : q (now if i give q here, its showing error "BROKEN PIPE") why in normal case mentioned in example 1 its not happening, while in man sh|pg its happening (broken pipe)? Please help me on this with clear explanation? |
| Forum Sponsor | ||
|
|