@grefeng

8 Followers
89 Following
35 Posts
Now more than 35 years with Unix. Passionate admin and enthusiastic developer and architect.
@naikrovek If you write the scripts only for yourself, than your approach is doable. If you have to write scripts for potential thousands of customers, then you care about portability and compatibility. And I dont see (currently) any harm in using `env`. Of course the scripts, that depends on specific features checks for the current setup.
Maybe we have just different requirements with our "scripting targets" – mine are not fixed but very flexible. (edit: typos)
@naikrovek Not quite. The shebang is the first line in a text file (marked with #! at left most), that the loader tells which interpreter to use. By using `/usr/bin/env bash` it picks the first bash found in PATH variable. That way the admin of the system (globally) the user can change the default bash to use, which can be a newer/patched version than the vendor delivered. On some systems /bin/bash or /usr/bin/bash lies on RO filesystems. So with /usr//bin/env you decouple and are portable.

@nixCraft Make the shebang portable with

```
#!/usr/bin/env bash
```

Signal is lacking the option to block receiving voice messages.

If you want to talk to me, call me.
If you want to talk into your phone, use dictation.

Der walisische Schauspieler Michael Sheen hat mit 100.000 Pfund aus eigener Tasche Schulden im Gesamtwert von rund 1 Million Pfund von etwa 900 Menschen in seiner Heimatregion Sudwales aufgekauft und vollständig erlassen. Möglich wurde dies durch gängige Praktiken der Schulden-industrie, bei denen Forderungen stark vergünstigt weiterverkauft werden.
https://edition.cnn.com/2025/03/10/entertainment/michael-sheen-write-off-neighbors-debts-intl-scli-gbr
1/2
Michael Sheen spent his own money to write off $1.3 million of neighbors’ debts

Actor Michael Sheen has bought $1.3 million of his neighbors’ debts and written them off using $129,000 of his own money.

CNN
Sometimes I think it’s going to be the librarians who will save us all.
@erd Perhaps it is just an expression of hope to finally get rid of the advertising, at least. :)
@nblr I can raise my hand

Breaking News!
Death by Scrolling is coming out on Oct 28th at 10pm Australian time and will cost $7.99 minus a launch discount.
Buy it early to increase the chance you'll be on the high score screen.

#DeathByScrolling #pixelart #indiedev

@nixCraft Simply: "adult coding"