scripts icon indicating copy to clipboard operation
scripts copied to clipboard

sigs.pl doesn't handle filenames with spaces on Windows

Open BarryGould opened this issue 8 years ago • 1 comments

Hi, on Windows 8.1, 64-bit, with ActivePerl 5.18.1, sigs.pl gets an error if the file I'm running it against has spaces in the file path (quoted):

i:>perl "c:\Program Files (x86)\Utilities\SYS\sigs.pl" "o:\Downloads\UTILS\SQLiteDatabaseBrowserPortable_3.8.0_English (github).paf.exe" No filehandle passed at c:\Program Files (x86)\Utilities\SYS\sigs.pl line 53.

i:>perl "c:\Program Files (x86)\Utilities\SYS\sigs.pl" "Cisco ATA iTalkBB Shipm ent - Pitney Bowes.pdf" No filehandle passed at c:\Program Files (x86)\Utilities\SYS\sigs.pl line 53.

It does work on a file with no spaces, quoted or unquoted.

Thanks!

BarryGould avatar Mar 13 '17 17:03 BarryGould

Thanx for reporting this, I'll take a look at it. I primarily run it on Linux, so the shell should have handled that, but I'll see if it is something I can fix in the script.

clausing avatar Mar 13 '17 18:03 clausing