From: Humm <hummsmith42@gmail.com>
To: 9fans <9fans@9fans.net>
Subject: Re: [9fans] Breaking up long lines in sam into more manageable ones
Date: Wed, 25 Aug 2021 20:49:52 +0200 [thread overview]
Message-ID: <YSaQ0FK4rzvQvTPv@beryllium.local> (raw)
In-Reply-To: <16299156410.9E31f8.221008@composer.9fans.topicbox.com>
> I would like to be able to break up long lines in sam in a way
> similar to the way I break them up in ed. For ed, I rely on the
> external command !fold -s -w80 %.
>
> This did not work for me in sam. What would be the best way to
> achieve this in sam? And is there a format line(s) command I could
> use?
| Plan 9-command
Send the range to the standard input, and replace it by
the standard output, of the Plan 9 command.
Thus, run something like `,|fold -s` or `,|fmt` to format long lines
in, for example, your emails.
--
Humm
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T8df760861ae2c8cd-M93188a3c4a4e50f7988df1b7
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
prev parent reply other threads:[~2021-08-25 18:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-25 18:20 revcomninos
2021-08-25 18:31 ` David Leimbach via 9fans
2021-08-26 22:01 ` fwrm via 9fans
2021-08-26 22:47 ` David Leimbach via 9fans
2021-08-27 8:55 ` revcomninos
2021-09-02 19:10 ` Conor Williams
2021-08-25 18:49 ` Humm [this message]
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=YSaQ0FK4rzvQvTPv@beryllium.local \
--to=hummsmith42@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).