Re: executing file names with spaces

Alberto Riva <[email protected]>
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
On 01/06/2017 06:44 AM, Jean Louis wrote:
> Hello,
>
> I have made a small script video2webm.cl and then a symlink "Convert
> to WebM" that should be used to run it. I am using the first line
> #!/usr/bin/clisp
>
> However, there is an error:
>
> admin-> "./Convert to WebM Format"
> *** - LOAD: A file with name Convert does not exist
>
> I guess that CLISP is searching for (first *args*), and taking the
> first word as being the name of file. Instead, it should recognize the
> full name of the file, and put it into the (first *args*) correctly,
> even if it includes spaces.

Does it work if you remove the spaces?

Personally, I think spaces in filenames are a pretty bad idea, and 
spaces in program names are an *especially* bad idea...

Alberto



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.