From: Rock Pomerleau <moroco () total ! net>
To: tru64-unix-managers
Subject: SUMMARY:A grep question
Date: Mon, 29 Sep 1997 13:04:14 +0000 [thread overview]
Message-ID: <96078617110648.tru64-unix-managers.marc@archive.invalid> (raw)
My question was:
I have a file who looks like the following:
DSQ_1
DSQ_2
DSQ_10
DSQ_11
I want to extract the line DSQ_1 only only that line.
If I use grep 'DSQ_1' I get
DSQ_1
DSQ_10
DSQ_11
How can can I use grep to only show DSQ_1.
***************************************************************************
Thanks to all who replied
I try this solution and it works very well:
grep -w '^DSQ_1' files.tmp
;););););););););););););););););););););););););););););););););););););)
;) HOW TO RESOLVE A PROBLEM ! ;)
;););););););););););););););););););););););););););););););););););););)
select case (Problem)
case no_problem,small_problem
call(ME)
case Medium_problem
call(SOMEONE_ELSE)
case BIG_problem
call(GOD)
case HUGE_PROBLEM
call(GOOD_LUCK)
;););););););););););););););););););););););););););););););););););););)
;) Have a nice day ! ;)
;););););););););););););););););););););););););););););););););););););)
reply other threads:[~1997-09-29 13:04 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox