Re: Batch Translation

From: P Stalidis (pstal_at_it.teithe.gr)
Date: 12/31/04

  • Next message: John Murphy: "Re: Shell Games"
    Date: Fri, 31 Dec 2004 02:36:31 +0200
    To: Jeff Lewis <jlewis1957@netscape.net>
    
    

    Jeff Lewis wrote:

    >I always suspected that MSDOS Batch files were the smallest of subsets of [insert favorite shell here]. Bit it's all I know well.
    >
    >Does anyone know of a web page that translates MSDOS batch file commands to [insert favorite shell here]?
    >
    >Jeff
    >
    >PS - I'm liking BASH.
    >
    >__________________________________________________________________
    >
    >
    >
    I remember 5 or 6 years ago a friend of mine had made himself csh
    scripts with MS-DOS names and syntax that would do the same thing as in
    dos. He then put them in a folder and added it in his path. So whenever
    he wrote something that would be correct for MS-DOS command.com his unix
    system would run it...
    The bad thing is that I have lost touch with him.... but you can do that
    yourself and I suppose that your old MS-DOS scripts will be available
    again. Of course you will learn how to make bash or csh or sh or zsh or
    whatever shell scripts in the proccess and probably the consumed time
    will be greater than to write all your dos scripts again.
    _______________________________________________
    freebsd-newbies@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
    To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"


  • Next message: John Murphy: "Re: Shell Games"

    Relevant Pages

    • Re: Batch Translation
      ... >he wrote something that would be correct for MS-DOS command.com his unix ... >yourself and I suppose that your old MS-DOS scripts will be available ... >will be greater than to write all your dos scripts again. ... Switch to Netscape Internet Service. ...
      (freebsd-newbies)
    • Re: conversion of csh scripts to bash
      ... > I recognize that bash is the superior shell, but like many people, I was ... > first exposed to csh 12 years ago because that's what everyone in my ... Note that shell programming sucks in general, ... I would certainly not write bash specific scripts, but instead, ...
      (comp.unix.shell)
    • Re: Shell Scripts
      ... csh (and tcsh) always source your .cshrc file by ... I can run bash scripts from within tcsh by placing ... Note that interactive shell scripts often behave ...
      (Debian-User)
    • Re: Primary Differences: FreeBSD/Linux
      ... > shell for scripts, ... use csh, and it's trivially easy to install pdksh, move the binary ... and correct the broken root entry (and delete the ...
      (comp.unix.bsd.freebsd.misc)
    • Re: strange csh script behavior only in certain account
      ... Aside from not writing csh scripts if you can avoid it (in some cases, ... explicitly tell csh not to read the users cshrc file, ...
      (comp.unix.programmer)