http://qs321.pair.com?node_id=11145328


in reply to Re^3: How to replace spaces with different chars?
in thread How to replace spaces with different chars?

>
$datum =~ s/ /[\\;:,-]/g; system("ls -1 $datum");'

I have no linux to test at hand, but does ls really support regex-character classes?

the -1 option doesn't seem to activate this https://www.man7.org/linux/man-pages/man1/ls.1.html

and I'm confused why ls should support something above globbing ...

plz enlighten me! :)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery