bug#20511: split : does not account for --numeric-suffixes=FROM in calculation of suffix length?

2015-05-12 Thread Pádraig Brady
On 06/05/15 11:53, Pádraig Brady wrote: > On 06/05/15 05:29, Ben Rusholme wrote: >> As you say, this can always be fixed by the "--suffix-length" argument, but >> it’s only required for certain combinations of FROM and CHUNK, (and “split” >> already has all the information it needs). >> >>> Now y

bug#20553: 'echo -e' does not escape backslash correctly

2015-05-12 Thread Stephane Chazelas
2015-05-11 17:36:50 -0600, Eric Blake: > On 05/11/2015 04:14 PM, Pádraig Brady wrote: > > >> echo -e "net use z: srv\\aqs /persistent:no /user:%USERNAME% > >> $BG_PASSWD\r" > > 'echo -e' is non-portable. POSIX recommends that you use printf > instead, as the POSIX version of echo is suppose

bug#20553: 'echo -e' does not escape backslash correctly

2015-05-12 Thread Erik Auerswald
Hi, On Mon, May 11, 2015 at 11:17:34PM +0100, Stephane Chazelas wrote: > 2015-05-11 23:50:25 +0200, Jo Drexl (FFGR-IT): > > Hi guys, > > I had to write a Windows bat file for twentysomething users and - as > > Linux geek - wrote a small Bash script for it. The code in question is > > as follows: >