Re: executing file names with spaces

Jean Louis <[email protected]>
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
Dear Alberto,

Yes, it works without space. I know what you mean very well. However,
there are uses for programs with spaces. Otherwise, spaces would be
disallowed.

There is a right click menu where one may insert an option
"Convert to WebM Format" and the option itself is just a symlink to
the program. It makes more sense to have descriptive option, than a
small file.

While for an individual something like video2webm is good enough, for
people working on computers, they need it more descriptive. In my case
I have staff members who need to use it.

I am using ROX file manager, that allows such customizations on the
right click.

It is yet a problem in CLISP if it really does not recognize it's
filename, but I cannot post a bug, as Sourceforge is not allowing me.

Jean

On Sat, Jan 07, 2017 at 01:08:38PM -0500, Alberto Riva wrote:
> 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.