in reply to Re: Ubuntu File Names with spaces and special characters
in thread Ubuntu File Names with spaces and special characters
That explains a lot! My problem is that the squiggly (aka tilde) is NOT interpreted within SINGLE quotes. I tried String::ShellQuote, but it simply enclosed the input with single quotes. I suppose using the module helps with portability, but I doubt I'll ever need to worry about porting the code.
What about the shell? Is it the login shell (Bash) or the shell the Perl source is invoked from (tcsh) or just Linux? In the case of paths, I don't think it matters, but other instances it may make a difference (e.g., back-ticks, etc.).
In any event I believe that solves the problem and maybe, many other problems I've had.
Thanks,
EigenFunctions
OpSys: Ubuntu 18.04;
Perl: Perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-linux-gnu-thread-multi (with 67 registered patches)
OpSys: Win7 x64 Service Pack 1 Professional/Home Premium;
Perl: Strawberry (v5.22.0)/ActiveState (v5.14.2)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Ubuntu File Names with spaces and special characters
by haukex (Archbishop) on Mar 01, 2019 at 08:35 UTC |