🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #3974

Re: shell programming help

#3974
From: Peter Sundstrom
Date: Wed, 04 Oct 2000 20:56
29 lines
1691 bytes
thaboyz wrote in message ...
>i wrote a program that replaces percentages to their equivalent letter
>grade.
>
>my file looks like this
>
>34 56 98 23 90 87
>34 52 87 65 99 34
>
>i need the output to look like this
>
>F D A F A A
>F D A C A F
>
>when i echo the display it shows like this on the screen
>
>F D A F A A F D A C A F
>
>i want it to display
>
>F D A F A A
>F D A C A F
>
>how do you tell echo how to do this?


An echo by itself will produce a newline.  We really need to see your code
to see what you are doing wrong.
Technical Details
Message-ID: <8rg5q3$n9n$1@hermes.nz.eds.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!skynet.be!newsfeed01.tsnz.net!news.eds.co.nz!news.nz.eds.com!not-for-mail
References: <s4xC5.314094$1h3.7559966@news20.bellglobal.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fe8ab,79a93a9b97f9cd1a
X-Google-Attributes: gidfe8ab,public
X-Google-Thread: 1012a6,79a93a9b97f9cd1a
X-Google-Attributes: gid1012a6,public
X-Google-Thread: faae6,79a93a9b97f9cd1a
X-Google-Attributes: gidfaae6,public
X-Google-Thread: 1006bb,79a93a9b97f9cd1a
X-Google-Attributes: gid1006bb,public
X-Google-ArrivalTime: 2000-10-04 14:01:30 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!skynet.be!newsfeed01.tsnz.net!news.eds.co.nz!news.nz.eds.com!not-for-mail
From: "Peter Sundstrom" <peter.sundstrom@eds.com>
Newsgroups: comp.unix.shell,comp.unix.shells,fj.questions.unix,man.unix.help
Subject: Re: shell programming help
Date: Thu, 5 Oct 2000 09:56:52 +1300
Organization: EDS (New Zealand)
Lines: 31
Message-ID: <8rg5q3$n9n$1@hermes.nz.eds.com>
References: <s4xC5.314094$1h3.7559966@news20.bellglobal.com>
NNTP-Posting-Host: dhcp-134-251-166-237.dhcp.nz.eds.com
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3