this post was submitted on 02 Nov 2023
4 points (100.0% liked)

Linux

4 readers
2 users here now

founded 2 years ago
 

Quite often I want to execute the same command for multiple files. It is quite easy to achieve that using the fish shell, once you get the hang of it.

top 6 comments
sorted by: hot top controversial new old
[–] Cwilliams@beehaw.org 2 points 1 year ago (2 children)

This isn't just a fish thing, it works with bash, zsh, etc too

[–] danrot@kbin.social 1 points 1 year ago (1 children)

That's true, but the syntax is different then. In this blog post I cover fish, and I didn't intent to say that this cannot be done in other shells (and I think I never said so).

[–] Cwilliams@beehaw.org 1 points 1 year ago

Oh, thanks for the clarification!

[–] ShaunaTheDead@kbin.social 1 points 1 year ago (2 children)

Pretty unrelated, but I just wanted to say that I love how bash scripting uses if to open an if statement and fi to close it... makes me giggle every time lol

[–] danrot@kbin.social 2 points 1 year ago

Doesn't it also use case and esacand a few others? Such a weird language^^

[–] Cwilliams@beehaw.org 1 points 1 year ago

Comment Same! It's really funny Tnemmoc