On Thu, May 02, 2024 at 10:18:03PM -0700, David Christensen wrote: > I am unable to find $'string' in the dash(1) man page (?). As I typically > write "#!/bin/sh" shell scripts, writing such to deal with file names > containing non-printing characters is going to baffle me.
Currently, $' quoting is a bash extension. It's supposed to appear in some future edition of POSIX, at which point shells like dash will be required to adopt it (whenever they get around to it). For now, though, you should consider it bash only.