This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
437e3a7
)
Explain how '--' works in command-line invocation.
author
James E Keenan
<jkeenan@cpan.org>
Sat, 14 Dec 2013 00:08:09 +0000
(
01:08
+0100)
committer
James E Keenan
<jkeenan@cpan.org>
Sat, 14 Dec 2013 00:08:09 +0000
(
01:08
+0100)
Excerpted from 'man bash': GNU Bash-2.05b, 2002 July 15.
For: RT #120732, as requested by bulk88.
pod/perlrun.pod
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlrun.pod
b/pod/perlrun.pod
index
dbaa12c
..
1feecb0
100644
(file)
--- a/
pod/perlrun.pod
+++ b/
pod/perlrun.pod
@@
-220,6
+220,9
@@
clustered with the following switch, if any.
#!/usr/bin/perl -spi.orig # same as -s -p -i.orig
+A C<--> signals the end of options and disables further option processing. Any
+arguments after the C<--> are treated as filenames and arguments.
+
Switches include:
=over 5