Re: ed(1) man page doesn't mention use of single / and ?

2019-07-15 Thread Ingo Schwarze
Hi Ian, ropers wrote on Sun, Jul 07, 2019 at 12:28:37AM +0200: > And no, don't ask me how much of my weekend I wasted figuring out how > to suppress mandoc's insistence upon two spaces after the 'i.e.' just > because there's a period at the end of a line. Ouch, sorry about that. Actually, it's

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-15 Thread Ingo Schwarze
Hi, mazoc...@disroot.org wrote on Wed, Jul 03, 2019 at 07:21:53AM +0300: > I am not good at explaining something shortly and clearly to fit into > proper documentation, so I'll just describe my experience here. Well, sending patches - even such patches as may not be perfect yet but require some

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-06 Thread chohag
ropers writes: > Okay, so since nobody else appears to be making any pertinent noise, I > guess it falls to me: > > Index: ed.1 > === > RCS file: /cvs/src/bin/ed/ed.1,v > retrieving revision 1.70 > diff -u -r1.70 ed.1 > --- ed.1

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-06 Thread ropers
Second thought, maybe the 'i.e.'s should be changed to 'e.g.'s, because '/' and '?' also work (instead of '//' and '??', respectively), so '/re' and '?re' are indeed only examples. Or maybe this is overdoing it. I don't know. Whatever you all think is best and most correct. I have no strong

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-06 Thread ropers
mazocomp opined: > Hi! > > I am not good at explaining something shortly and clearly to fit into > proper documentation, so I'll just describe my experience here. > > Terminating regular expressions with / or ? is necessary only if they > are followed by commands, otherwise the following are legal

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-05 Thread Vincent Waciuk
Wonderful is perhaps too strong, but I chuckled many times while reading it.

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-05 Thread Mohamed Fouad
I wouldn't say it is particularly wonderful but it is whats out there! However, Michael W. Lucas(the author) do have awesome books. On Fri, Jul 5, 2019 at 8:26 PM Vincent Waciuk wrote: > Ed Mastery is a wonderful read. Highly recommended. >

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-05 Thread Vincent Waciuk
Ed Mastery is a wonderful read. Highly recommended.

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-05 Thread Jason McIntyre
On Thu, Jul 04, 2019 at 11:47:50PM +0200, ropers wrote: > Do I understand correctly that this is in reference to these parts of man 1 > ed: > > > /re/ > >The next line containing the regular expression re. The search wraps to > > the beginning of the buffer and continues down to the current

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-04 Thread Mohamed Fouad
To add to Ian's reference. "Ed Mastery" is the only book I know specific to ed(1). Mo On Thu, 4 Jul 2019, 6:54 pm ropers Do I understand correctly that this is in reference to these parts of man > 1 ed: > > > /re/ > >The next line containing the regular expression re. The search wraps > to

Re: ed(1) man page doesn't mention use of single / and ?

2019-07-04 Thread ropers
Do I understand correctly that this is in reference to these parts of man 1 ed: > /re/ >The next line containing the regular expression re. The search wraps to > the beginning of the buffer and continues down to the current line, if > necessary. “//” repeats the last search. > ?re? >

ed(1) man page doesn't mention use of single / and ?

2019-07-02 Thread mazocomp
Hi! I am not good at explaining something shortly and clearly to fit into proper documentation, so I'll just describe my experience here. Terminating regular expressions with / or ? is necessary only if they are followed by commands, otherwise the following are legal in both OpenBSD ed, Plan 9