system command

Fairlight fairlite at fairlite.com
Mon Oct 31 17:48:00 PST 2005


Confusious (Kenneth Brody) say:
> 
> BTW, is there any reason the OP can't simply use SHOW RAW?

Hellifiknow?  :)  My excuse is that I gave up on SHOW a long time ago and
just send things to a msgbox or a file.  I never liked show.

> I haven't looked at it too clisely, but you have to remember that you
> are passing it to the shell for execution, and not typing it at the
> command line, so you may need to escape the backslashes one more level.
> 
> Remember, in order to do something like:
> 
>     echo '\033'
> 
> you need to escape the backslash to get the shell to see it:
> 
>     sh -c "echo '\\033'"
> 
> (Note: I have not actually verified the above, as I'm not on a *nix
> box at the moment.)

Not from what I'm seeing.  The point in fact is that his single backslash
in "\033" shows up in `less` as an actual binary ESC code.  So...no, it
doesn't -seem- that you need to escape it an extra level.

John's testing it right now in the fP Room and he says his works with 3
-or- 4 backslashes.  Didn't work for me with 3 -in Dennis' code-.  I did
not try John's "\\\"" all by itself.  John says (and I quote), "Well
-something- weird is happening here."   *chuckle*

mark->
-- 
There is no "I" in TEAM.
This would be the primary reason I've chosen not to join one.


More information about the Filepro-list mailing list