Web lists-archives.com

Re: shell script problem

On 06/02/2019 03.17, ghe wrote:
On 2/5/19 9:19 AM, Jude DaShiell wrote:

Have you tried replacing "-" with \45 yet?  That's the ascii equivalent
for "-'.

Excellent idea. But:

root@sbox:~# systemctl unmask \45.mount
Unit 45.mount does not exist, proceeding anyway.

(Same with quotes.)

You might try
root@sbox:~# systemctl unmask $'\45'.mount
Just a thought.