From: Mbaccar AT aol DOT com Message-ID: Date: Sat, 29 May 1999 00:46:56 EDT Subject: ANNOUNCEMENT To: djgpp AT delorie DOT com CC: Mbaccar AT aol DOT com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: AOL 4.0 for Windows sub 11 Reply-To: djgpp AT delorie DOT com Hello, I have written several unix commands using tcl language. The package name is csh 1.0 and is available for download at the following: http://members.aol.com/~mbaccar/pub/csh10.zip If you are interested, this package is designed for the windows platform. It is free to use, copy, modify etc... You will need to install tclsh 8.0 or 8.1, then unfold csh10.zip under the tcl/lib directory, copy csh/tclshrc.tcl to your home directory (check for env HOME). Next if you double click on tclsh, you will get a unix prompt and the following commands will be ready for use: package ifneeded csh 1.0 [list tclPkgSetup $dir csh 1.0 \ {{mv.tcl source mv} \ {tee.tcl source tee} \ {which.tcl source which} \ {date.tcl source date} \ {wc.tcl source wc} \ {diff.tcl source diff} \ {cp.tcl source cp} \ {more.tcl source more} \ {rm.tcl source rm} \ {cat.tcl source cat} \ {grep.tcl source grep} \ {head.tcl source head} \ {tail.tcl source tail} \ {find.tcl source find} \ {fsplit.tcl source fsplit} \ {fmerge.tcl source fmerge} \ {env.tcl source {env setenv}} \ {alias.tcl source {alias unalias}} \ {ftp.tcl source {ftp ftp_resp}} \ {rshd.tcl source rshd} \ {ls.tcl source {ls ls_files}} \ {procformat.tcl source procformat} \ {pushd.tcl source {pushd popd}} \ {csh.tcl source {csh set_prompt1 set_prompt2 open_cmd_channel}}}] I did not spend too much time on this, so if you find this useful and have the time, please send us your updates. I just think many of these commands are better written in a scripting language like tcl. For instance, find command takes a couple of lines. How many lines of code does it take to do it in C? Next I look at portability, the script is platform independent. The other advantage is the size of these files (so easy to carry around). Hope you find the interest and usefulness to csh package. Hope to see it go further. Best, Mohamed