I got several replies, and thanks everyone !:)

Are there any other \ functions I should know about? I already use
\ to 'ignore' certain characters @'s and such.. any other useful ones? :)

Thanks again,
/j

On Tue, 5 May 1998, Chris Tyler wrote:

> Jason <[EMAIL PROTECTED]> wrote:
> >
> > I'm trying to write a shell script that will automatically let me modify
> > the mail settings for sendmail.cf without having to go into the file and
> > do it.
> >
> > I need a way to force it to echo a "tab" command, but I can't seem to find
> > a way to do that. I got one mention that I should try using a prinf
> > statement to print the hexidecimal value of tab, but I don't know much C
> > nor can I find the hexidecimal value of tab.
> >
> > Can anyone tell me how I could do this, or perhaps an easier way of
> > embedding the tab? Sendmail.cf requires tabs for the virtual domain
> > mail forwarding. I can always export the mail forwarding config to
> > another file and edit it that way, which I have on another server,
> > but I'd prefer to keep it the way that it is.
> >
> 
> Use the /bin/echo command instead of the shell builtin, and then use
> backslash-t for tab:
> 
>       /bin/echo "FOO\tBAR"
> 
> 
> -- 
> Chris Tyler                       <[EMAIL PROTECTED]>
> Global Proximity Corporation      http://Global.Proximity.ON.CA/
> Internet and Computer Consulting  (519) 469-3439 / fax (519) 469-8653
> 


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
         To unsubscribe: mail [EMAIL PROTECTED] with 
                       "unsubscribe" as the Subject.

Reply via email to