Thread das boese shell & (14 answers)
Opened by mark05 at 2011-07-03 17:21

pq
 2011-07-04 12:56
#150124 #150124
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
vielleicht solltest du deine aussagen mal belegen.
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$ touch "foo&bar"
$ perl -wE'
system("mv", "foo&bar", "/tmp/foo&bar");
'
$ ls /tmp/foo\&bar
/tmp/foo&bar
$ rm /tmp/foo\&bar
touch "foo&bar"
$ perl -wE'
use File::Copy qw/ move /; move("foo&bar", "/tmp/foo&bar")
'
$ ls /tmp/foo\&bar
/tmp/foo&bar
$


klappt doch alles wunderbar.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread das boese shell &