Re: Bash script via inetd = no joy

From: Ian Fitchet (idf_at_lunanbay.LESS-SPAM.com)
Date: 08/29/03


Date: 29 Aug 2003 20:39:30 +0100

Barry Margolin <barry.margolin@level3.com> writes:

> You could pipe all the output through a sed command that adds \r at the end
> of each line.

 You could throw a quick

stty onlcr

 into the top of your script.

 Although just about every bet in the book is off as I'm not there's
 anyone left who still *understands* terminals...

 I know I don't :-)

Cheers,

        Ian



Relevant Pages

  • Re: Bash script via inetd = no joy
    ... >> into the top of your script. ... >Stty only works if stdout is a terminal. ... intricacies of terminals and NVT's in UNIX yet, ...
    (comp.os.linux.networking)
  • Re: Bash script via inetd = no joy
    ... >> into the top of your script. ... >Stty only works if stdout is a terminal. ... intricacies of terminals and NVT's in UNIX yet, ...
    (comp.unix.shell)
  • Re: Bash script via inetd = no joy
    ... Barry Margolin writes: ... into the top of your script. ... anyone left who still *understands* terminals... ...
    (comp.unix.shell)
  • Re: File Got Corrupted in vi
    ... I was working on a file in unix using vi editor. ... The file was ascii shell script file. ... Barry Margolin, barmar@xxxxxxxxxxxx ...
    (comp.unix.questions)
  • Re: Mail.app : How to forward mail as attachment?
    ... Barry Margolin wrote: ... RonaldOttoValentinFischer wrote: ... You may be able to script that as well, ... with other popular email clients like Entourage. ...
    (comp.sys.mac.apps)