$ perl -e 'system "sort -T `pwd` --buffer-size=10 ../somefile.txt"' | head
####
$ /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
####
$ 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 kit.
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 Page.
$ /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.ActiveState.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 kit.
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 Page.