Activity for alx
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #289869 |
Post edited: |
— | about 1 year ago |
Edit | Post #289869 | Initial revision | — | about 1 year ago |
Question | — |
How to overwrite each line of STDOUT with the next one? I wrote a filter program to overwrite each line with the next one. ```sh $ cat /usr/local/bin/ovr #!/bin/sh sed '2,$s/^/\x1B[1A\x1B[K/'; ``` Here's the behavior: ```sh $ echo | ovr $ echo 'foo' | ovr foo $ echo -e 'foo\nbar' | ovr bar $ echo -e 'foo\nbar\nbaz' | ovr baz $ ech... (more) |
— | about 1 year ago |
Edit | Post #289854 |
Post edited: |
— | about 1 year ago |
Edit | Post #289854 |
Post edited: |
— | about 1 year ago |
Edit | Post #289854 |
Post edited: |
— | about 1 year ago |
Edit | Post #289854 | Initial revision | — | about 1 year ago |
Answer | — |
A: How to get a mailto: URI out of abook(1) There's no such feature. But it's easy to write. Apply this patch: ```diff From 8ea7d1cf4933ca24006308ac61aa50fb8ab33b02 Mon Sep 17 00:00:00 2001 From: Alejandro Colomar Date: Sat, 30 Sep 2023 17:44:03 +0200 Subject: [PATCH] query: outformat: Add "mailto" format Signed-off-by: Alejandro ... (more) |
— | about 1 year ago |
Comment | Post #289799 |
Yep. I hoped there was a way that I didn't find, but it seems the way is brute force. (more) |
— | about 1 year ago |
Edit | Post #289799 |
Post edited: Add example of expected result |
— | about 1 year ago |
Edit | Post #289799 | Initial revision | — | about 1 year ago |
Question | — |
How to get a mailto: URI out of abook(1) I store my address book with abook(1). Let's say I want to introduce some contact in some field that accepts the usual `name ` format. How can I ask abook(1) to produce that format? The addressbook entry is the following: ``` [0] name=Alejandro Colomar email=alx@kernel.org,alx.manp... (more) |
— | about 1 year ago |
Edit | Post #289717 | Initial revision | — | about 1 year ago |
Question | — |
How to see all header fields of an email in mutt? Neomutt (and probably Mutt too, but I didn't try) seems to be hiding header fields from email, such as the Message-ID field, and fields that are added by SMTP servers when they receive the message. How can one ask it to show the entire mail source, as if one was reading the file itself? In othe... (more) |
— | about 1 year ago |
Edit | Post #286875 |
Post edited: |
— | over 2 years ago |
Edit | Post #286875 |
Post edited: |
— | over 2 years ago |
Edit | Post #286875 | Initial revision | — | over 2 years ago |
Question | — |
Who creates subdirs under `/run`? A system daemon needs to create several files under `/run/program-name/` (and possibly other subdirs of that). They are the PID file, and at least one Unix socket file (but maybe more). The FHS specifies that those files go there, under a `/run` subdir: . (In some Unix systems, it would still be `... (more) |
— | over 2 years ago |
- ← Previous
- 1
- 2
- 3
- 4
- 5
- Next →