Re: how to specify *.txt as an argument to ls

2017-01-15 Thread dean
I seethank you very much for explaining that. On 15 January 2017 at 09:49, Alexander Burger wrote: > On Sat, Jan 14, 2017 at 10:12:35PM +, dean wrote: > > '`(chop "@.PDF") > > BTW what's the difference between the two leading ticks (I recognise > > apostrophe as quote macro). > > Right.

Re: how to specify *.txt as an argument to ls

2017-01-15 Thread dean
It's all running flawlessly. On 15 January 2017 at 10:11, dean wrote: > I seethank you very much for explaining that. > > > On 15 January 2017 at 09:49, Alexander Burger wrote: > >> On Sat, Jan 14, 2017 at 10:12:35PM +, dean wrote: >> > '`(chop "@.PDF") >> > BTW what's the difference be

Re: how to specify *.txt as an argument to ls

2017-01-15 Thread Alexander Burger
On Sat, Jan 14, 2017 at 10:12:35PM +, dean wrote: > '`(chop "@.PDF") > BTW what's the difference between the two leading ticks (I recognise > apostrophe as quote macro). Right. So it expands to the list ("@" "." "P" "D" "F"). This list in turn needs to be quoted, because otherwise "@" is tried

Re: how to specify *.txt as an argument to ls

2017-01-15 Thread dean
Thank you very much for the explanation.

Re: how to specify *.txt as an argument to ls

2017-01-14 Thread John Duncan
s/lunch/libc On Jan 14, 2017 6:01 PM, "John Duncan" wrote: > Wildcard expansion in UNIX is performed by the shell, so to experiment > with arguments it is probably better to specify a directory as an argument > and see the result. You can use a native call to the glob(3) lunch function > if you

Re: how to specify *.txt as an argument to ls

2017-01-14 Thread John Duncan
Wildcard expansion in UNIX is performed by the shell, so to experiment with arguments it is probably better to specify a directory as an argument and see the result. You can use a native call to the glob(3) lunch function if you want pattern matching lookup like the shell, or use the output of find

how to specify *.txt as an argument to ls

2017-01-14 Thread dean
To help work out how to call pdftohtml with arguments I thought I'd try to do "ls *.txt" in the form of (call 'ls "*.txt") but I've got something wrong. I have seen * specified as @ as in '`(chop "@.PDF") and that worked fine with match but not with ls. BTW what's the difference between the two lea