🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.tech.unix
Article #375

Re: help

#375
From: Stuart Tomlinson
Date: Fri, 14 Apr 2000 00:00
55 lines
1938 bytes
Ob the subject of shell scripts, I need to write 2 values (user input and
time) to a file

Got this working but I need them on the same line

at mo echo ing result >> file
and then time >> file

but results look like
1
11,34
2
11.35


Anyone know how result can be so i have entries like
1    11.34
2     11.35


Sorry if this isnt the type of post this newsgroup is for!!


Rgds


Stu

--
Stu. Techy Bod.  ICQ 55421702 stu@ttscomputers.co.uk
Jap MCC Broxburn. Z440 running!!!! Suzi gt250-rebuild  KawaZ1000G -missing
"Friends Help you move, Real Friends help you move bodies."
"I miss my ex-wife, BUT my aim is improving"
Phil Reynolds <philr@hedgford.demon.co.uk> wrote in message
news:n52nc8.i7s.ln@127.0.0.1...
> In article <K8sH4.767$5D.1658@ozemail.com.au>,
> "David" <dschmidt1@ozemail.com.au> writes:
> > Hey everyone,
> >
> > I'm writing a script file and need to know how to remove a specific line
of
> > text from a .txt file.
> >
> > I can use        grep $variable filename        to get it but how can I
> > remove that line?
>
> One way would be to do this:
>
> grep -v $variable filename > newfile
>
> --
> Phil Reynolds
>  o  ____ Internet: philr@hedgford.demon.co.uk
> |L_ \  / Web: http://www.hedgford.demon.co.uk/phil/
> (_)- \/  Waltham 67, Emley Moor 69, Droitwich 79, Windows 95
Technical Details
Message-ID: <8d7pfa$mpb$1@gxsn.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <K8sH4.767$5D.1658@ozemail.com.au> <n52nc8.i7s.ln@127.0.0.1>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fac57,a69137bb0b34a75d
X-Google-Attributes: gidfac57,public
From: "Stuart Tomlinson" <stu@ttscomputers.co.uk>
Subject: Re: help
Date: 2000/04/14
Message-ID: <8d7pfa$mpb$1@gxsn.com>
X-Deja-AN: 611225627
References: <K8sH4.767$5D.1658@ozemail.com.au> <n52nc8.i7s.ln@127.0.0.1>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Complaints-To: abuse@gxsn.com
X-Trace: 955738410 1NNUCNF1G9368C393C gxsn.com
Organization: TTS Computers
X-MSMail-Priority: Normal
Newsgroups: demon.tech.unix