Category : Recently Uploaded Files
Archive   : BATCSH11.ZIP
Filename : BAT2CSH.MAN

 
Output of file : BAT2CSH.MAN contained in archive : BATCSH11.ZIP



BAT2CSH(1) UNIX Programmer's Manual BAT2CSH(1)



NAME
bat2csh - filter that converts DOS batch to UNIX C shell

SYNOPSIS
Interactive mode:

bat2csh

But usually:

bat2csh filename

DESCRIPTION
Bat2csh makes a literal conversion of DOS batch commands
to UNIX C shell commands. It reads from standard input
(stdin) and writes to standard output (stdout). Changes
can be made to the resulting csh script to match the naming
conventions of the destination computer. To take advantage
of the additional control structures available within csh,
one may wish to restructure the resulting script.

Remember to use the chmod +x command to make the csh script
executable.

ERROR REPORTING
When a DOS batch syntax error is detected, bat2csh will
write to stdout the error message ### SYNTAX ERROR ###.

The last line of the batch file should end with a newline.
If not, bat2csh will usually handle it. But if bat2csh has
a problem with the missing newline, it will write the error
message ### PREMATURE END-OF-FILE ### to stdout. The last
line of the batch file will not have been successfully
converted.

If there are any errors, the number of errors are written
to the monitor (stderr).

LIMITATIONS
Bat2csh does not consider the % character to be a legal
character within a filename. Bat2csh uses the % character
to locate replaceable parameters and replaceable variables.

SEE ALSO
csh(1), chmod(1)

AUTHOR
Bill Pierpoint.







January 12, 1994 1




  3 Responses to “Category : Recently Uploaded Files
Archive   : BATCSH11.ZIP
Filename : BAT2CSH.MAN

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/