public inbox for sourcenav@sourceware.org
 help / color / mirror / Atom feed
From: "Tanmoy Sinha" <tanmoy@veritas.com>
To: <sourcenav@sources.redhat.com>
Subject: Help with 'printing' in Snavigator
Date: Mon, 09 Sep 2002 05:00:00 -0000	[thread overview]
Message-ID: <AFEFLGJLDCMGDFNNPPBKGEFICKAA.tanmoy@veritas.com> (raw)

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

                 reply	other threads:[~2002-09-09 12:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AFEFLGJLDCMGDFNNPPBKGEFICKAA.tanmoy@veritas.com \
    --to=tanmoy@veritas.com \
    --cc=sourcenav@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).