You have to use double backslash eg. \\t 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]

I have a C programme which takes parameters like "\t" or "\b" etc.. .
I have to pass these params from the shell prompt. 

However when it give \t as a parameter, only the t reaches my program. 
if i pass \t\x\r , txr is passed to my programme. 

Is there some way i can get the actual parameter that is passed ? (ie with
the escpae characters )

Thanks,
saurabh

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to