Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #265622

Re: OT: coloured text?

From Michael Kjörling <2695bd53d63c@ewoof.net>
Newsgroups linux.debian.user
Subject Re: OT: coloured text?
Date 2024-01-07 20:30 +0100
Message-ID <HTH0l-1vrM-3@gated-at.bofh.it> (permalink)
References <HTGnD-1uZv-3@gated-at.bofh.it> <HTGGZ-1vln-3@gated-at.bofh.it> <HTGQG-1voC-9@gated-at.bofh.it> <HTH0l-1vrM-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 7 Jan 2024 14:20 -0500, from greg@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?”

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OT: coloured text? Hans <hans.ullrich@loop.de> - 2024-01-07 19:50 +0100
  Re: OT: coloured text? Greg Wooledge <greg@wooledge.org> - 2024-01-07 20:10 +0100
    Re: OT: coloured text? Michael Kjörling <2695bd53d63c@ewoof.net> - 2024-01-07 20:20 +0100
      Re: OT: coloured text? Michael Kjörling <2695bd53d63c@ewoof.net> - 2024-01-07 20:30 +0100
        Re: OT: coloured text? Greg Wooledge <greg@wooledge.org> - 2024-01-07 21:00 +0100
      Re: OT: coloured text? Greg Wooledge <greg@wooledge.org> - 2024-01-07 20:30 +0100
  Re: OT: coloured text? Kent West <westk@acu.edu> - 2024-01-07 20:10 +0100

csiph-web