Ugly file name
    Chris Torek 
    chris at mimsy.UUCP
       
    Mon May 15 04:57:43 AEST 1989
    
    
  
In article <535 at visdc.UUCP> jiii at visdc.UUCP (John E Van Deusen III) writes:
>When your back is up against the wall, the following construct can be
>used to replace any argument and will allow you to do anything you want:
>
>	"`echo '\xxx\xxx\xxx\c'`"
>
>where xxx is any octal number.
Only if you are dealing with a broken SysV echo (echo should *not* do
escape interpretation, and even `echo -n' is iffy); and even then you
may have trouble generating meta characters (values in 0200..0377) if
you have an older shell.  If you have a working echo, use printf(1):
	"`printf %s '\xxx\xxx\xxx'`"
This still may not be able to name meta characters (depending again on
the vagaries of your particular shell).
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris
    
    
More information about the Comp.unix.xenix
mailing list