in reply to perl sort on windows

The sort that comes with my Windows (XP Pro) does not have a k option.

CountZero

A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James

My blog: Imperial Deltronics

Replies are listed 'Best First'.
Re^2: perl sort on windows
by hdb (Monsignor) on Mar 25, 2013 at 07:17 UTC

    And Windows utilities never have -something options, only /something options.

    jarwulf, can you do a "which sort" on the command prompt? If this works you must be in a *ix like environment under Windows (e.g. cygwin), which will lead to a very different answer than under "Windows rare".

    If not, you might want to consider getting one to avoid portability issues (well, many of them) in the future.

        What I meant was that

        dir -?

        is not

        dir /?

        under Windows.