[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tr '\verb|\|000' '\verb|\|\n'?



Can't offer copious elucidation, but
> Can somebody explain the subject line to me please.  I have read it in
> a linux training document and it is not doing what the document says
> it should do.  What I do not understand and do not know where to find
> documentation on it is the '\verb|\|000' '\verb|\|\n' part.  I know tr
> but what is '\verb|\|000'?  And the use of |\|?  
> 
> The whole command according to the document is
> 
> cat /proc/$$/environ | tr '\verb|\|000' '\verb|\|\n' 
  cat /proc/$$/environ | tr '\verb|\|\000' 'verb|\|\n'
                                     ^
works.
And why not simply   cat (...) | tr '\000' '\n'
without the \verb part. 
\verb|\| must be, obviously, the unchanged part, but it's superfluous.

I would need also some elucidation about the \verb part, didn't find anything.
 
MH
-- 
(Dr.) Michael Hummel
mailto: mh@seitung.net
		molino@gmx.net
--
fprint = F24D EAC6 E3D7 372C 9122 D510 EB24 01CA 0B56 B518
key: http://www.seitung.net/key

Attachment: pgp4zNzaVSo0d.pgp
Description: PGP signature


Reply to: