HP3000-L Archives

July 2000, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Andreas Schmidt <[log in to unmask]>
Reply To:
Date:
Mon, 24 Jul 2000 10:51:28 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (72 lines)
 see comments with ***
as




[log in to unmask] on 22/07/2000 09:20:44 PM

Please respond to [log in to unmask]

To:   [log in to unmask]
cc:    (bcc: Andreas Schmidt/GIS/CSC)
Subject:  [HP3000-L] Pipe & Grep



Hello,

I am pretty new to HP3000 and MPE and since I am learning from
other's notes (do not have a manual) and also from the web documents
from HP website, I am still fumbling on a few issues and would like
your advice/pointers . I believe I am using MPE 5.5.

*** just see :SHOWVAR HPVERSION and you will be sure. ***

1. Is piping allowed on MPE platform? For instance, can you do a print
command with a more? Example : #PRINT <filename> | more

*** not on pure MPE/iX but using the Posix Shell :sh.hpbin.sys
*** see the file HPPXUDC.PUB.SYS and POSIXCBT.LSN.SYS on how to
*** invoke the shell with an UDC, and how Posix will work using a CBT.

2. How do you GREP files? I want to print out lines that only contains
the text I want (and line numbers too if possible). Something like
this example :
          # LISTFILE DAT@ | GREP "E500"

*** possible in the shell (see above)

3. I understand from browsing through this newsgroup that there is a
diff command in MPE. Is that default in MPE system and does it work
just like Unix diff. I cannot find the diff command in the manuals I
read from the HP website, can you point me somewhere there is notes on
this?

*** invoke the shell and execute man diff
*** it's the same like Unix.

4. How do I make a TEMPORARY file PERMANENT ? I know I can delete the
file using command #PURGE <filename>, TEMP. But supposing I need to
keep it, then how do I make it permanent. I realised that when you
logoff from the session, the TEMPORARY files are automatically erased.

*** this is basic MPE. See HELP SAVE

I am sorry if any of the questions above are too obvious for you,
please help me as I am new to this environment. Any pointers or
suggestions will be GREATLY appreciated.

*** Hope you will stay on this platform because it's simply the best
*** :-)
*** You will see that all the goodies are available on MPE as well as
*** on Unix (like Web functionality etc.) but the technology and the ***
Operating System itself will support you much more than the #$%^@& *** Unix
commands ...

Thanks in advance,
John

*** You're Welcome!
*** Best regards, Andreas Schmidt, CSC, Germany

ATOM RSS1 RSS2