English
Open in Telegram
OOpenStreetMap Off Topic

OpenStreetMap Off Topic

@OpenStreetMapOffTopic · group · indexed since 2026-08-22
145members−2 in a week
28writing in 30 days
1 045messages in 30 days
63 358messages in the index
7
or just by voting, or a trash can set on fire.
7
I'd say that the initiative to tax big businesses usually gains traction when the government desperately needs the money.
7
To the point of deciding to rob their own friends a little.
7
And I suppose there must be some point between a period of crisis and one of absolute prosperity when things are actually decided according to what the common people want. After all, sometimes you do win the lottery.
7
Sorry, I can't even give you a TL;DR. I did what I could to condense it.
M
something nice to have on the GNU/Linux CLI … when using <TAB>, bash completes it if any file matches the first chars I already typed. but what if I'm typing stuff like, il-est-midi-01.m4a, and I next need to type il-est-midi-02.m4a, etc, etc? it will stop at il-est-midi-0, and after I type the next available digit, hitting <TAB> will not complete the file name in the onlymost reasonable way.
Whole thread · 1 reply →
D
instead, a double <TAB> will give you a list of options and you have to choose explicitly this is different from Windows, which will cycle through the options — and that catches me off-guard every time, the command being auto-completed to something I was utterly not expecting
M
my goal is to have the next non-existing-most-reasonable name suggested and autocompleted.
D
you may want to try your luck with bash-completion
M
chatgpt suggested I would try this one: _seqext_complete() { local cur=$2 dir base stem f name tail ext candidate local had_nullglob=0 local -A seen=() COMPREPLY=() dir=${cur%/*} [[ $cur == */* ]] && dir+="/" || dir="./" base=${cur##*/} # The current word must end in a number. [[ $base =~ ^(.*[^0-9])([0-9]+)$ ]] || return 0 stem=${BASH_REMATCH[1]} shopt -q nullglob && had_nullglob=1 shopt -s nullglob for f in "$dir"*; do [[ -f $f ]] || continue name=${f##*/} [[ $name == "$stem"* ]] || continue tail=${name#"$stem"} [[ $tail =~ ^[0-9]+(\..+)$ ]] || continue ext=${BASH_REMATCH[1]} candidate="$cur$ext" if [[ -z ${seen[$candidate]+x} ]]; then COMPREPLY+=( "$candidate" ) seen["$candidate"]=1 fi done (( had_nullglob )) || shopt -u nullglob }
S
Photo
not really the same goal as in history command substitution but you can use the bash substitution in the history, too.
👍1
Whole thread · 3 replies →
D
(yes, I replied to a message from Aug 2025; turns out, I could search by exact file size in Discmaster)

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count