784
Yes (programming.dev)
you are viewing a single comment's thread
view the rest of the comments
[-] callyral@pawb.social 3 points 1 year ago* (last edited 1 year ago)

i thought most unix-like systems had it symlinked to a shell like dash. it's what i have on my system (void linux), of course not as an interactive shell lol

i use #!/bin/sh for posix scripts and #!/usr/bin/env bash for bash scripts. #!/bin/sh works for posix scripts since even if it's symlinked to bash, bash still supports posix features.

this post was submitted on 15 Nov 2023
784 points (100.0% liked)

Programmer Humor

19804 readers
727 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS