all files in /home/user/ vanished (deleted?)

MIssing

DIR=$8

s/globe*/glob

No, it won’t, because ~ is not expanded in this case.

ls $XXX~
ls: cannot access ~: No such file or directory

:wink:

Now what is your point?

My point is, that it is of course clear that you get a different result when you write something else.
You don’t have to state that.

For you stating is not needed because you are better than the rest of us for sure.

You said that, not me.