Actually, sed is available for windows.  I have used it to process the 
fortran plplot sources to get the single precision versions that I use in 
most of my work.  It works quite well.  It is just an executable that you 
drop somewhere in your path.

It can be found at
http://gnuwin32.sourceforge.net/packages/sed.htm

Bryan Peterson
[EMAIL PROTECTED]

On Thu, 30 Nov 2006, Werner Smekal wrote:

> Hi Arjen,
>
>> The Bourne shell uses -s if I remember correctly, but I never thought of
>> putting these options in the magic first line. Good idea, though!
>>
>> Anyway, the culprit for the failure is clear: cat. It does not exist on
>> Windows,
>> so I will change the script to use echo instead (as that is an internal
>> command).
>
> I think this won't be the only command you will not find, e.g. sed is
> later used on, and there is no windows command I know of, that has this
> functionality. I use the very well ported GNUWin32 tools:
>
> http://GNUWin32.sf.net
>
> It has all the GNU Tools you need: core-utils, sed, grep, whatever
> (except bash though :( ). Actually I was succesful in running the sh
> files on my Windows box with win-bash and GNUWin32 Tools without too
> much problems, e.g. running "ctest" in the build directory actually run
> all scripts (but not all correct).
>
> But does it make sense to change sh-files to use windows commands,
> instead of writing windows batch files? Might be the same work?
> Especially if you try to get around sed :).
>
> Werner
>
>
>>
>> Regards,
>>
>> Arjen
>>
>>
>> ------------------------------------------------------------------------
>>
>> -------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share your
>> opinions on IT & business topics through brief surveys - and earn cash
>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Plplot-devel mailing list
>> Plplot-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>
>
> -- 
> Dipl. Ing. Werner Smekal
> Institut fuer Allgemeine Physik
> Technische Universitaet Wien
> Wiedner Hauptstr 8-10
> A-1040 Wien
> Austria
>
> email: [EMAIL PROTECTED]
> web:   http://www.iap.tuwien.ac.at/~smekal
> phone: +43-(0)1-58801-13463 (office)
>        +43-(0)1-58801-13469 (laboratory)
> fax:   +43-(0)1-58801-13499
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Plplot-devel mailing list
> Plplot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-devel
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to