public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
* Help with 'printing' in Snavigator
@ 2002-09-09  5:00 Tanmoy Sinha
  0 siblings, 0 replies; only message in thread
From: Tanmoy Sinha @ 2002-09-09  5:00 UTC (permalink / raw)
  To: sourcenav

Hi guys, firstly, GREAT Job with Snav..!! :D

Now can you help me out a little here ,
I would like to know how I can specify the field delimiter for the print
command.
(pr -l300 | tee /tmp/zzz)

The following is an extract from the print command which i redirected to a file
(/tmp/zzz):

SameDG(fu)              Boolean (GcsDiskGrp &,GcsDiskGrp &)
old_db/dbsrc/gcsdbutil.cpp
SameDisk(fu)            Boolean (GcsDisk &,GcsDisk &)
old_db/dbsrc/gcsdbutil.cpp
SameDmDisk(fu)          Boolean (GcsDmDisk &,GcsDmDisk &)
old_db/dbsrc/gcsdbutil.cpp
SameHost(fu)            Boolean (GcsHost &,GcsHost &)
old_db/dbsrc/gcsdbutil.cpp
SameVolume(fu)          Boolean (GcsVolume &,GcsVolume &)
old_db/dbsrc/gcsdbutil.cpp

(The default field delimiter is 2 TAB characters.)


I would like to have it comma delimited instead, which makes it easy to use awk
etc. for post-processing.

How I would like it :
SameDG(fu),Boolean (GcsDiskGrp &,GcsDiskGrp &),old_db/dbsrc/gcsdbutil.cpp
SameDisk(fu),Boolean (GcsDisk &,GcsDisk &),old_db/dbsrc/gcsdbutil.cpp
SameDmDisk(fu),Boolean (GcsDmDisk &,GcsDmDisk &),old_db/dbsrc/gcsdbutil.cpp
SameHost(fu),Boolean (GcsHost &,GcsHost &),old_db/dbsrc/gcsdbutil.cpp
SameVolume(fu),Boolean (GcsVolume &,GcsVolume &),old_db/dbsrc/gcsdbutil.cpp

Thanks,
Looking forward to your reply,

cheers!
Tanmoy

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-09-09 12:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-09  5:00 Help with 'printing' in Snavigator Tanmoy Sinha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).