Quantcast
Channel: Filenames with spaces in backtick substitution - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 2 View Live

Answer by ilkkachu for Filenames with spaces in backtick substitution

I see that using ls "`cmd`" works. But, this does not work if I want to pass multiple files as argument to ls with some possibly containing spaces. That's correct. It's the same issue as with storing...

View Article



Filenames with spaces in backtick substitution

Suppose I have a file containing a space in its name such as with space. What should cmd output in the below snippet for ls to accept 'with space' as argument? $ ls `cmd` I tried ls `echo 'with...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images