unofficial mirror of emacs-tangents@gnu.org
 help / color / mirror / Atom feed
From: Emanuel Berg <incal@dataswamp.org>
To: emacs-tangents@gnu.org
Subject: Re: Links to many issues of Emacs News (in a weird format)
Date: Sat, 11 Jun 2022 00:41:04 +0200	[thread overview]
Message-ID: <87leu4uoov.fsf@dataswamp.org> (raw)
In-Reply-To: CAO2hHWbiEUub0fe=OsHmWOiyJ1sy4YQbPgfj=VHavfHp7pcBPQ@mail.gmail.com

chad wrote:

>> And this method of getting the data is perhaps more
>> convenient still ... (post commands here, if and when
>> someone tries it!)
>
> Something like:
>
> (use-package elfeed :ensure t)
>
> and either:
>
> (setq elfeed-feeds '("https://sachachua.com/blog/feed/" "
> http://planet.emacslife.com/atom.xml"))
>
> or
>
> (setq elfeed-feeds '("https://sachachua.com/blog/feed/"))
>
> is pretty good IMO.

Alrighty, cool! But that's maybe an answer to another
question, or was I the one who started it? But it doesn't
matter, there is no relevant or irrelevant information, just
information that's boring and information that's interesting.

But, I'm looking for a shell command to get the whole body of
text to the disk. Since it was in some repository I thought
that would be simpler than what I did, as I recall it required
fiddling with a lot of options before I succeeded.
That function is still around if I can find it ...

Ah, here it is:

  echo ${${${(z)${"${(f)$(curl -s -I $url)}"[1]}}[2,-1]}%%$'\r'}

No, just kidding. That command ... ??? But the function's name
helps

  https://dataswamp.org/~incal/conf/.zsh/url

LOL :)

-- 
underground experts united
https://dataswamp.org/~incal




      reply	other threads:[~2022-06-10 22:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-09  5:17 Links to many issues of Emacs News (in a weird format) Eduardo Ochs
2022-06-09 17:53 ` Sacha Chua
2022-06-09 18:39   ` Eduardo Ochs
2022-06-09 20:38     ` Emanuel Berg
2022-06-10 21:31       ` chad
2022-06-10 22:41         ` Emanuel Berg [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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87leu4uoov.fsf@dataswamp.org \
    --to=incal@dataswamp.org \
    --cc=emacs-tangents@gnu.org \
    /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).