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


Groups > linux.debian.user > #265621

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:20 +0100
Message-ID <HTGQG-1voC-9@gated-at.bofh.it> (permalink)
References <HTGnD-1uZv-3@gated-at.bofh.it> <HTGGZ-1vln-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 7 Jan 2024 14:03 -0500, from greg@wooledge.org (Greg Wooledge):
> The shebang tells the kernel which shell to execute to interpret your
> script.  So, you match it up to whichever shell you're writing for.

Or perhaps rather which interpreter to use to execute the file.
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

or if you are feeling evil... :-)

#!/bin/sed -e 1d

-- 
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