Re: ${foo#'bar'} problem in here-document

2018-03-08 Thread Martijn Dekker
Op 09-03-18 om 02:28 schreef Thorsten Glaser: > Naturally. However, the “bug” seems to only apply to > trim operations, Yes, that is expected because trim operations use glob pattern notation (as in 'case'). Shell quoting is explicitly part of glob pattern notation, so that you can escape glob

${foo#'bar'} problem in here-document

2018-03-08 Thread Martijn Dekker
x=notOK cat <