44

Didn't know about auto populating search queries, abbreviations, string scripting, and using private mode.

top 10 comments
sorted by: hot top controversial new old
[-] gamma@programming.dev 3 points 22 hours ago* (last edited 22 hours ago)

Scrubbing through the video, this hurts my soul

echo $(echo $STRING | sed 's/World/Bash/')

For variables bash has PE forms:

echo ${STRING/World/Bash}

I miss these too much when I try Fish.

[-] hperrin@lemmy.ca 11 points 1 day ago

But I am using fish.

[-] BrianTheeBiscuiteer@lemmy.world 35 points 1 day ago

But I am using Fish. It's like you don't even know me!

[-] Ephera@lemmy.ml 7 points 1 day ago* (last edited 1 day ago)

I wish that string command and also their math command were just general-purpose utilities pre-installed on all systems.

Tried to script something with sed the other day and was so confused why my regexes weren't matching, until we realized you need to pass --regexp-extended to get modern-day regex.

And then I later tried to calculate an average, which bc decided to round down, because it was presumably doing integer math. I actually ended up running python -c "print($total / $count)", because I could not be arsed to work out, if there was some flag to make bc work properly.

I'm fine with these tools continuing to exist for legacy purposes, but I would like a modern replacement just about now.

[-] gamma@programming.dev 2 points 22 hours ago

string split/collect and similar can't work unless its a builtin. The set foo ( ...... | string ... ) pattern couldn't work if string was an external binary.

[-] HappyFrog 5 points 1 day ago

I use Nushell, yes, I know I'm insane.

[-] gamma@programming.dev 4 points 22 hours ago

I get annoyed by differences with (Ba|Z)sh when I try Fish, but nushell is so much its own thing that it's fun.

[-] Cris_Color@lemmy.world 3 points 1 day ago* (last edited 1 day ago)

I'm glad you mentioned nushell (it sounds like) is a more poweruser thing. Someone recommended it in place of fish in another thread and I was curious to check it out, but it sounds like not at all what I want or need as a fish user and that saves me the trouble of trying to make heads or tails of a terminal tool I don't understand

But it looks like a cool project and I'm glad it exists for people like you! 😊

[-] rozodru@social.vivaldi.net 6 points 1 day ago

@HappyFrog @ruffsl you're not insane. I think you're a person that knows what they like and knows what works for them which is the beauty of Linux.

Also I've never heard of nushell and now you've made me want to check it out!

[-] HappyFrog 3 points 1 day ago

Thank you :3 I just like structured data. It's tedious, and it won't work with most apps, but it's beautiful.

this post was submitted on 16 Aug 2025
44 points (100.0% liked)

Linux

8983 readers
475 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS