On Feb 20, 2007, at 2:33 PM, Andrew Black wrote:
Peter da Silva wrote:
"No, that one's a port of a VMS program, and it only does VMS style
wildcards."
VMS Perl tries to be helpful and do the shell expansion that you might
expect. Usually this is helpful.
Oh. God. Thank you. You've reminded
Peter da Silva wrote:
OK. I forgot all about escaping quotes.
Two sentence summary: "How do you enter E. E. 'Doc' Smith as the title?
Smith, E. E. (Doc)
Woo! more special characters to hate!
--
David Cantrell | Godless Liberal Elitist
Did you know that shotguns taste like candy canes? Pu
Peter da Silva wrote:
"No, that one's a port of a VMS program, and it only does VMS style
wildcards."
VMS Perl tries to be helpful and do the shell expansion that you might
expect. Usually this is helpful.
But if you do
perl something.pl "*wildcard*"
the quotes get sucked up by DCL so perl
On Feb 20, 2007, at 11:30 AM, Martin Ebourne wrote:
More! More! Go on, more pain! Harder!
OK. I forgot all about escaping quotes.
Two sentence summary: "How do you enter E. E. 'Doc' Smith as the title?
Do you double the quotes, or use different quotes, or use an escape
character, and which e
Martin Ebourne writes:
> Smylers wrote:
>
> > Bash 3 introduced the failglob option
>
> Hey, bash wasn't first. :)
Erm, yeah ... that's why farther down in my message I explicitly
mentioned an example of some other shell that had this feature years ago
and state how hateful it is that Bash too
Peter da Silva wrote:
How many of the people who think shell wildcard expansion is hateful
have spent much time using other people's programs on any OS where
the command line is the normal user interface and where wildcard
expansion is up to the application writers?
God it's hateful.
"Oh yeh,
Smylers wrote:
A shell which expands a pattern if it can or otherwise (silently)
pretends that you quoted it is hateful.
Ever so.
Bash 3 introduced the failglob option
Hey, bash wasn't first. :)
(Don't confuse this with the nullglob option, which (silently) pretends
that non-matching pat
How many of the people who think shell wildcard expansion is hateful
have spent much time using other people's programs on any OS where the
command line is the normal user interface and where wildcard expansion
is up to the application writers?
God it's hateful.
"Oh yeh, that program only doe
Robert Rothenberg writes:
> On 20/02/07 15:37 Abigail wrote:
>
> > Perhaps you suffer from the fact that your shell is expanding the *?
>
> You're right. My mistake.
A shell which expands a pattern if it can or otherwise (silently)
pretends that you quoted it is hateful. Apart from anything el
On 20/02/07 15:37 Abigail wrote:
> Perhaps you suffer from the fact that your shell is expanding the *?
You're right. My mistake.
$ unzip -l foo foo/*
unzip: No match.
What happens with
$ unzip -l foo 'foo/*'
On Tue, Feb 20, 2007 at 03:12:57PM +, Robert Rothenberg wrote:
>
> Take the following zip file
>
> $ unzip -l foo
> Archive: foo.zip
> Length Date TimeName
>
> 0 02-20-07 15:05 foo/
> 0 02-20-07 15:05 foo/file1
> 0 0
Take the following zip file
$ unzip -l foo
Archive: foo.zip
Length Date TimeName
0 02-20-07 15:05 foo/
0 02-20-07 15:05 foo/file1
0 02-20-07 15:05 foo/bar/
0 02-20-07 15:05 foo/bar/file2
13 matches
Mail list logo