9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Paul Lalonde <paul.a.lalonde@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Searching sam for text
Date: Mon, 2 Aug 2021 09:47:46 -0700	[thread overview]
Message-ID: <CA+POUVj5=6GNd7+CN-JVZJWyCEViEquBjxnqsf85RE_Raqkm7A@mail.gmail.com> (raw)
In-Reply-To: <16279223340.fae65.10513@composer.9fans.topicbox.com>

[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]

I occasionally do (in acme, sam MMV)
,x/open/+-{
p
}

It separates the match from the address by a newline, but works well enough
for my needs.


On Mon, Aug 2, 2021 at 9:39 AM <revcomninos@gmail.com> wrote:

> In sam if I invoke ,x g/<string>/+-p sam prints out the hits in the sam
> window by lines. I was wondering if there is a way of going from any of
> those search results directly to the line in the document where the string
> occurs?
>
>
>
>
> *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions
> <https://9fans.topicbox.com/groups/9fans> + participants
> <https://9fans.topicbox.com/groups/9fans/members> + delivery options
> <https://9fans.topicbox.com/groups/9fans/subscription> Permalink
> <https://9fans.topicbox.com/groups/9fans/T6d4564e82d943342-Mfcb6bd0926fd38503c309185>
>

------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T6d4564e82d943342-Md02d6d75af44d1f300cf5be1
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

[-- Attachment #2: Type: text/html, Size: 1737 bytes --]

  reply	other threads:[~2021-08-02 16:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-02 16:38 revcomninos
2021-08-02 16:47 ` Paul Lalonde [this message]
2021-08-02 17:18   ` revcomninos
2021-08-02 17:21   ` silas poulson
2021-08-02 17:55     ` Mark van Atten
2021-08-02 16:49 ` Mark van Atten
2021-08-02 17:20   ` revcomninos
2021-08-02 17:47     ` Mark van Atten
2021-08-02 19:00       ` revcomninos
2021-08-02 19:04         ` Mark van Atten
2021-08-02 19:20           ` revcomninos

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='CA+POUVj5=6GNd7+CN-JVZJWyCEViEquBjxnqsf85RE_Raqkm7A@mail.gmail.com' \
    --to=paul.a.lalonde@gmail.com \
    --cc=9fans@9fans.net \
    /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 NNTP newsgroup(s).