Re: RFE: history without line numbers

2012-03-13 Thread Greg Wooledge
On Tue, Mar 13, 2012 at 02:47:44PM +0100, Biltong wrote: > I looked under > help history > I can't see fc mentioned. The builtin "help" only gives you a short summary of a single command's options. It is not an exhaustive reference. For the complete story, you must read the man page, or the web

Re: RFE: history without line numbers

2012-03-13 Thread Chet Ramey
On 3/13/12 9:47 AM, Biltong wrote: > I looked under > help history > I can't see fc mentioned. Well, yes. `help history' displays information about the history builtin. The text I quoted was from the manual page. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer

Re: RFE: history without line numbers

2012-03-13 Thread Biltong
I looked under help history I can't see fc mentioned. On Tue, Mar 13, 2012, at 09:21 AM, Chet Ramey wrote: > On 3/13/12 9:18 AM, Biltong wrote: > > Great! Thanks. Would it be good to mention fc under history in the > > manpage? > > This is from the HISTORY section: > > "The builtin command fc

Re: RFE: history without line numbers

2012-03-13 Thread Chet Ramey
On 3/13/12 9:18 AM, Biltong wrote: > Great! Thanks. Would it be good to mention fc under history in the > manpage? This is from the HISTORY section: "The builtin command fc (see SHELL BUILTIN COMMANDS below) may be used to list or edit and re-execute a portion of the history list. The his- tor

Re: RFE: history without line numbers

2012-03-13 Thread Biltong
Great! Thanks. Would it be good to mention fc under history in the manpage? On Tue, Mar 13, 2012, at 08:43 AM, Chet Ramey wrote: > On 3/13/12 5:27 AM, Biltong wrote: > > To make copy-pasting between different terminals work better, would it > > be possible for the history built-in to support an op

Re: RFE: history without line numbers

2012-03-13 Thread Chet Ramey
On 3/13/12 5:27 AM, Biltong wrote: > To make copy-pasting between different terminals work better, would it > be possible for the history built-in to support an option to suppress > line numbers? fc -n -l low high e.g., fc -n -l 50 530 -- ``The lyf so short, the craft so long to lerne.'' - Cha

Re: RFE: history without line numbers

2012-03-13 Thread Steven W. Orr
On 3/13/2012 5:27 AM, Biltong wrote: To make copy-pasting between different terminals work better, would it be possible for the history built-in to support an option to suppress line numbers? Why would you want that? 507 spam xxx.eml 508 cd .jpilot 509 grep -i poisson AddressDB.pdb

RFE: history without line numbers

2012-03-13 Thread Biltong
To make copy-pasting between different terminals work better, would it be possible for the history built-in to support an option to suppress line numbers? -- Biltong bilt...@fastmail.fm -- http://www.fastmail.fm - A no graphics, no pop-ups email service