🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.os.linux.programowanie
Article #60189

grep

#60189
From: vertigo
Date: Mon, 24 Oct 2005 16:32
16 lines
1025 bytes
Czesc

Potrzebuje w skrypcie basha sprawdzic czy z zmiennej A znajduje sie  
zmienna B na przyklad:
A=12345TAJNE777
B=TAJNE

wtedy B zawiera sie w A.

Czy da sie cos takiego zrobic grepem (z mojej dokumentacji wynika ze  
raczej nie),
czy ktos moze pomoc ? (alternatywne rozwiazanie) ?

Pozdrawiam
Michal
Technical Details
Message-ID: <op.sy5r7qbxzn8jyu@highland>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: vertigo <null@com.pl>
Newsgroups: pl.comp.os.linux.programowanie
Subject: grep
Date: Mon, 24 Oct 2005 18:32:04 +0200
Organization: null
Lines: 16
Message-ID: <op.sy5r7qbxzn8jyu@highland>
NNTP-Posting-Host: piaski.eu.org
Mime-Version: 1.0
X-Trace: atlantis.news.tpi.pl 1130171520 13019 80.55.40.138 (24 Oct 2005 16:32:00 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 24 Oct 2005 16:32:00 +0000 (UTC)
User-Agent: Opera M2/8.02 (Win32, build 7680)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit