barbar has asked for the wisdom of the Perl Monks concerning the following question:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Merge and sort large data
by marto (Cardinal) on Jul 23, 2007 at 10:27 UTC | |
I can't make any sense of this post, what code now works? Perhaps you should take a look at the PerlMonks FAQ and How do I post a question effectively?. Update: I checked CB60 shortly after posting, and found no chat relating to this post. Martin | [reply] |
by planetscape (Chancellor) on Jul 23, 2007 at 11:12 UTC | |
barbar's post looked like this when I approved it:
(I happened to have left the browser tab open and that is how I produced this copy.) Note to barbar: Please don't go in and completely alter a node once posted. It messes with people's heads. And mine is definitely messed up enough already. Thank you. HTH, planetscape | [reply] [d/l] [select] |
| |
by roboticus (Chancellor) on Jul 24, 2007 at 13:12 UTC | |
| [reply] | |
by barbar (Initiate) on Jul 23, 2007 at 10:58 UTC | |
using the file mergefile1 below And the file mergefile2 below Can anyone tell me why this only works on Korn shell and not in command? Thank you | [reply] [d/l] [select] |
by Corion (Patriarch) on Jul 23, 2007 at 11:04 UTC | |
I'm not sure why this "only works on Korn shell and not in command, but there are two possibilities: Traditionally, Unix shells perform argument wildcard expansion (globbing) on the command line, while command.com and cmd.exe, the shells on Windows do not. If you want to perform globbing yourself, use the glob version, best as follows:
The other possibility is that you have two programs called sort.exe and $ENV{PATH} is set differently between your ksh and your cmd.exe. The sort.exe program that comes with Windows is incompatible with the sort.exe program that behaves like the Unixish programs do. The easiest way to make sure that the "right" sort.exe program is invoked is to give the full path, maybe C:\\programs\\cygwin\\usr\\bin\\sort.exe, instead of calling it implicitly. | [reply] [d/l] [select] |
|
Re: Merge and sort large data
by dsheroh (Monsignor) on Jul 23, 2007 at 15:15 UTC | |
| [reply] |
by barbar (Initiate) on Jul 24, 2007 at 05:58 UTC | |
| [reply] |
|
Re: Merge and sort large data
by Anno (Deacon) on Jul 23, 2007 at 10:49 UTC | |
Anno | [reply] |
|
Re: Merge and sort large data
by roboticus (Chancellor) on Jul 24, 2007 at 13:09 UTC | |
| [reply] | |