On 7 Jan 2024 14:20 -0500, from g...@wooledge.org (Greg Wooledge): >> Examples of shebang lines which aren't for "shells" in the traditional >> sense might be: >> >> #!/usr/sbin/nft -f >> >> #!/usr/bin/env python3 >> >> #!/usr/bin/perl > > Python and perl are both scripting languages. I don't know what nft is.
Yes, they are, but they are not typically used as interactive shells. nft is nftables. >> or if you are feeling evil... :-) >> >> #!/bin/sed -e 1d > > This is not a valid shebang. You're only permitted ONE argument after > the interpreter name. You're going to execute /bin/sed '-e 1d' 'filename' > with this. Okay, fair point. In my defense, I tried it and it worked. -- Michael Kjörling 🔗 https://michael.kjorling.se “Remember when, on the Internet, nobody cared that you were a dog?”