Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watmath!clyde!rutgers!seismo!mcvax!inria!rouaix From: rouaix@inria.UUCP Newsgroups: comp.sys.amiga Subject: Replacement ECHO / CLI feature Message-ID: <462@inria.UUCP> Date: Tue, 19-May-87 10:29:11 EDT Article-I.D.: inria.462 Posted: Tue May 19 10:29:11 1987 Date-Received: Thu, 21-May-87 04:17:35 EDT Organization: INRIA, Rocquencourt. France Lines: 25 1) There is in AmigaDos Manual the description for some "quoting" feature in CLI command parsing (could be p 1-3). To introduce a " (double-quote) in a filename, you shall use * (star) as a quoting character (somewhat like back-slash under Unix). Consequently, you must use * to quote itself. 2) Echo command: it is not specified whether the argument is to be considered as a string or not. Practice shows that the argument for Echo is parsed as a filename (shall we say it is a bug ? :-) ), so that << echo "*" >> won't work. I make this remark for two reasons: 1) there has been some weeks ago a posting containing some alternative for AmigaDOS commands, one of them being echo. this version DOES NOT RESPECT the "/* feature. 2) i'm writing currently a new kind (i think) of execute scripts using EDIT (no kidding !) and i use Echo to create command files for EDIT. Some of these scripts will be posted here, and i want to prepare you to the fact that these scripts will not work when using the "short echo". As a matter of fact, the CD command in the same posting may also fail when used in execute scripts, where the original one would work. Last minute add: there is now another ECHO replacement, and I suspect it not to follow the "/* feature .