Hello !!!
[snip]
-e Enable interpretation of the following backslash-
escaped characters in the strings:
\a alert (bell)
\b backspace
\c suppress trailing newline
\f form feed
\n new line
\r carriage return
\t horizontal tab
\v vertical tab
\\ backslash
\nnn the character whose ASCII code is nnn
(octal)
Bye.
On Tue, 5 May 1998, Jason wrote:
>
> 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.
>
>
>
xxxxxx //////
xx xx ( o o )
xx xx /------------oOO-----O-----OOo------------\
xxxx | From: Iztok Polanic |
xx xx | E-mail: [EMAIL PROTECTED] |
xx xx | WWW: http://kotzi.home.ml.org |
xx xx \-----------------------------------------/
--
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.