9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: revcomninos@gmail.com
To: 9fans <9fans@9fans.net>
Subject: [9fans] Breaking up long lines in sam into more manageable ones
Date: Wed, 25 Aug 2021 14:20:41 -0400	[thread overview]
Message-ID: <16299156410.9E31f8.221008@composer.9fans.topicbox.com> (raw)

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

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? 

Many thanks. 
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T8df760861ae2c8cd-M1c04b967118bc3df845c887a
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

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

             reply	other threads:[~2021-08-25 18:20 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-25 18:20 revcomninos [this message]
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

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=16299156410.9E31f8.221008@composer.9fans.topicbox.com \
    --to=revcomninos@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).