bop has asked for the wisdom of the Perl Monks concerning the following question:
But fails for an external installation of perl (I also tried the external 32 bit version, which fails just the same):$ perl -e 'system "sort -T `pwd` --buffer-size=10 ../somefile.txt"' | +head
The perl versions are:$ /cygdrive/c/Perl64/bin/perl -e 'system "sort -T `pwd` --buffer-size= +10 ../somefile.txt"' | head sort: cannot create temporary file: `pwd`/sort1JB3UE: No such file or +directory
Any explanation and/or work arounds (other than increasing /tmp) would be much apcodeciated!$ perl --version This is perl, v5.8.8 built for cygwin-thread-multi-64int (with 8 registered patches, see perl -V for more detail) Copyright 1987-2006, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge. $ /cygdrive/c/Perl64/bin/perl --version This is perl, v5.10.0 built for MSWin32-x64-multi-thread (with 3 registered patches, see perl -V for more detail) Copyright 1987-2007, Larry Wall Binary build 1002 [283697] provided by ActiveState http://www.ActiveSt +ate.com Built Jan 10 2008 10:53:05 Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: sort system call problem with activestate perl
by Anonymous Monk on Jul 03, 2008 at 13:17 UTC | |
by moritz (Cardinal) on Jul 03, 2008 at 13:23 UTC | |
by bop (Acolyte) on Jul 03, 2008 at 16:05 UTC | |
by moritz (Cardinal) on Jul 03, 2008 at 16:21 UTC | |
|
Re: sort system call problem with activestate perl
by starbolin (Hermit) on Jul 04, 2008 at 04:44 UTC |