Post #1179534
2026-04-11 07:14 UTC
#til about the #emacs command shell-command-on-region,which, when invoked with a prefix command, takes the marked text as input.
I've used to quickly reformat some dates from nasty American date format to glorious ISO date format –that is, from 8/12/15 to 2015-08-12, using the following bash order:
IFS=/; read m d y < /dev/stdin; printf "20%02d-%02d-%02d" $y $m $d
No stochastic parrots involved.
Replies (0)
No replies.