Home | History | Annotate | Download | only in Debugger_scripts
      1 #!/bin/sh

      2 #

      3 # Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>

      4 #  

      5 #  This program and the accompanying materials

      6 #  are licensed and made available under the terms and conditions of the BSD License

      7 #  which accompanies this distribution.  The full text of the license may be found at

      8 #  http:#opensource.org/licenses/bsd-license.php

      9 #

     10 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

     11 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

     12 #

     13 
     14 
     15 IN=`/usr/bin/cygpath -u $1`
     16 OUT=`/usr/bin/cygpath -u $2`
     17 
     18 /usr/bin/sed -e "s/\/cygdrive\/\(.\)/load\/a\/ni\/np \"\1:/g" \
     19              -e 's:\\:/:g' \
     20              -e "s/^/load\/a\/ni\/np \"/g" \
     21              -e "s/dll /dll\" \&/g" \
     22               $IN | /usr/bin/sort.exe --key=3 --output=$OUT
     23 
     24