🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.pl.comp.os.linux.debian
Article #17090

Re: dos'owy enter

#17090
From: Anon
Date: Tue, 09 Sep 2003 07:18
27 lines
1425 bytes
Krzysztof Swierczynski wrote:
> Witam.
> 
> Jak w skrypcie bash pozbyc sie dosowego entera (1310) "przerobic" go na
> linuxowy?
> Albo by byl ignorowany, mam w skrypcie np. cos takiego
> 
> XX=`cat plik_dosowy' ( w nim jest np. slowo  Tak )
> 
> if [ "$XX" = "Tak" ]; then
>   jakis kod
> fi
> 
> mimo ze w pliku jest slowo "Tak" skrypt nie wykonuje kodu, szmunci mu 1310.
> 
> Pozdrawiam.
> 
> 
> --
> Krzysztof Swierczynski
> gg 4809989
> 
> 
> 
Zobacz dos2unix

PaPA
Technical Details
Message-ID: <bjjutf$4qn$1@atlantis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <5fkjjb.ooi.ln@192.168.0.1>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed.silweb.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: "@(none).str.com.pl" <""piotr\"@(none).str.com.pl">
Newsgroups: alt.pl.comp.os.linux.debian
Subject: Re: dos'owy enter
Date: Tue, 09 Sep 2003 09:18:54 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 28
Message-ID: <bjjutf$4qn$1@atlantis.news.tpi.pl>
References: <5fkjjb.ooi.ln@192.168.0.1>
NNTP-Posting-Host: pl82.szczecin.sdi.tpnet.pl
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1063091952 4951 217.98.203.82 (9 Sep 2003 07:19:12 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Tue, 9 Sep 2003 07:19:12 +0000 (UTC)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624
X-Accept-Language: en-us, en
In-Reply-To: <5fkjjb.ooi.ln@192.168.0.1>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit