Re: Remove BACKWARDS flag from get_shell_command in ed(1)

2018-06-15 Thread Martijn van Duren
ping On 06/02/18 16:08, Martijn van Duren wrote: > anyone? > > On 05/24/18 09:40, Martijn van Duren wrote: >> Since we accept "!" as a full command to system(3), I decided to do even >> more trimming than when BACKWARDS is not defined. This way we trim even >> more LoC and have one less error cas

Re: Remove BACKWARDS flag from get_shell_command in ed(1)

2018-06-02 Thread Martijn van Duren
anyone? On 05/24/18 09:40, Martijn van Duren wrote: > Since we accept "!" as a full command to system(3), I decided to do even > more trimming than when BACKWARDS is not defined. This way we trim even > more LoC and have one less error case. > > Note that running "!!" without a prior command adds

Remove BACKWARDS flag from get_shell_command in ed(1)

2018-05-24 Thread Martijn van Duren
Since we accept "!" as a full command to system(3), I decided to do even more trimming than when BACKWARDS is not defined. This way we trim even more LoC and have one less error case. Note that running "!!" without a prior command adds an extra empty line if suppress diagnostics is not active, bec