Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

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