home.social

#bourneshell — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #bourneshell, aggregated by home.social.

  1. Live a whole century, keep learning for a whole century, the Russians say.
    Today I Learned™ how the Bourne-again shell catches bullets carefully
    aimed at my foot.

    I have a `bash' script, call it `baz', that post-processes text
    produced by `foo-bar' (rest assured, though, that it remains within
    all recognition).

    Doing due diligence documentation-wise, I wanted to collect an example
    of the end result into a comment in the same script.

    So naive, I took myself for a ride:

    $ foo-bar | baz | sed 's/^/### /' >> baz
    bash: baz: Text file busy

    (I expected that the shell would (try to) execute the appended lines,
    so I commented them Just In Time. Running this with `strace' is left
    as an exercise.)

    PIPESTATUS was (0 141 1) and the output "softly and suddenly vanished away"...

    --
    "For the Snark was a Boojum, you see."

    #BourneAgainShell
    #BourneShell
    #ComputerProgramming
    #Hunting
    #LewisCarrol
    #Queen
    #QuoteAbuse

  2. Live a whole century, keep learning for a whole century, the Russians say.
    Today I Learned™ how the Bourne-again shell catches bullets carefully
    aimed at my foot.

    I have a `bash' script, call it `baz', that post-processes text
    produced by `foo-bar' (rest assured, though, that it remains within
    all recognition).

    Doing due diligence documentation-wise, I wanted to collect an example
    of the end result into a comment in the same script.

    So naive, I took myself for a ride:

    $ foo-bar | baz | sed 's/^/### /' >> baz
    bash: baz: Text file busy

    (I expected that the shell would (try to) execute the appended lines,
    so I commented them Just In Time. Running this with `strace' is left
    as an exercise.)

    PIPESTATUS was (0 141 1) and the output "softly and suddenly vanished away"...

    --
    "For the Snark was a Boojum, you see."

    #BourneAgainShell
    #BourneShell
    #ComputerProgramming
    #Hunting
    #LewisCarrol
    #Queen
    #QuoteAbuse

  3. Live a whole century, keep learning for a whole century, the Russians say.
    Today I Learned™ how the Bourne-again shell catches bullets carefully
    aimed at my foot.

    I have a `bash' script, call it `baz', that post-processes text
    produced by `foo-bar' (rest assured, though, that it remains within
    all recognition).

    Doing due diligence documentation-wise, I wanted to collect an example
    of the end result into a comment in the same script.

    So naive, I took myself for a ride:

    $ foo-bar | baz | sed 's/^/### /' >> baz
    bash: baz: Text file busy

    (I expected that the shell would (try to) execute the appended lines,
    so I commented them Just In Time. Running this with `strace' is left
    as an exercise.)

    PIPESTATUS was (0 141 1) and the output "softly and suddenly vanished away"...

    --
    "For the Snark was a Boojum, you see."

    #BourneAgainShell
    #BourneShell
    #ComputerProgramming
    #Hunting
    #LewisCarrol
    #Queen
    #QuoteAbuse

  4. Live a whole century, keep learning for a whole century, the Russians say.
    Today I Learned™ how the Bourne-again shell catches bullets carefully
    aimed at my foot.

    I have a `bash' script, call it `baz', that post-processes text
    produced by `foo-bar' (rest assured, though, that it remains within
    all recognition).

    Doing due diligence documentation-wise, I wanted to collect an example
    of the end result into a comment in the same script.

    So naive, I took myself for a ride:

    $ foo-bar | baz | sed 's/^/### /' >> baz
    bash: baz: Text file busy

    (I expected that the shell would (try to) execute the appended lines,
    so I commented them Just In Time. Running this with `strace' is left
    as an exercise.)

    PIPESTATUS was (0 141 1) and the output "softly and suddenly vanished away"...

    --
    "For the Snark was a Boojum, you see."

    #BourneAgainShell
    #BourneShell
    #ComputerProgramming
    #Hunting
    #LewisCarrol
    #Queen
    #QuoteAbuse

  5. Live a whole century, keep learning for a whole century, the Russians say.
    Today I Learned™ how the Bourne-again shell catches bullets carefully
    aimed at my foot.

    I have a `bash' script, call it `baz', that post-processes text
    produced by `foo-bar' (rest assured, though, that it remains within
    all recognition).

    Doing due diligence documentation-wise, I wanted to collect an example
    of the end result into a comment in the same script.

    So naive, I took myself for a ride:

    $ foo-bar | baz | sed 's/^/### /' >> baz
    bash: baz: Text file busy

    (I expected that the shell would (try to) execute the appended lines,
    so I commented them Just In Time. Running this with `strace' is left
    as an exercise.)

    PIPESTATUS was (0 141 1) and the output "softly and suddenly vanished away"...

    --
    "For the Snark was a Boojum, you see."

    #BourneAgainShell
    #BourneShell
    #ComputerProgramming
    #Hunting
    #LewisCarrol
    #Queen
    #QuoteAbuse

  6. If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy than a scary .sh ?

  7. If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy #Heredoc than a scary .sh ?

    #ShellProgramming #git #security #codeberg #shellscript #bourneshell

  8. If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy #Heredoc than a scary .sh ?

    #ShellProgramming #git #security #codeberg #shellscript #bourneshell

  9. If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy #Heredoc than a scary .sh ?

    #ShellProgramming #git #security #codeberg #shellscript #bourneshell

  10. If a public foss repo offers a foss setup.sh command line script which, step by step, performs the installation / usage steps the repo readme lists for use at the command line to set up/use the code, what trust measures would you insist upon before downloading and before running the setup.sh script at your local command line? Is there a better way of offering an helpful automated but trustworthy #Heredoc than a scary .sh ?

    #ShellProgramming #git #security #codeberg #shellscript #bourneshell

  11. I saw someone else do this, so I thought I should too ...

    Languages I have used to write software for other people to use, in roughly chronological order: #BASIC #Z80assembler #Pascal #C #BCPL #MIPSassembler #LotusAmiproMacros 😃 #VisualBASIC #DataEase #SQL #Java #Javascript #Perl #BourneShell #bash #Postscript #Rust. It saddens me that I have never perpetrated #Forth or #Lisp for any other audience than myself. It doesn't sadden me that I have forgotten at least some of them due to lack of use.

  12. I saw someone else do this, so I thought I should too ...

    Languages I have used to write software for other people to use, in roughly chronological order: 😃 . It saddens me that I have never perpetrated or for any other audience than myself. It doesn't sadden me that I have forgotten at least some of them due to lack of use.

  13. I saw someone else do this, so I thought I should too ...

    Languages I have used to write software for other people to use, in roughly chronological order: #BASIC #Z80assembler #Pascal #C #BCPL #MIPSassembler #LotusAmiproMacros 😃 #VisualBASIC #DataEase #SQL #Java #Javascript #Perl #BourneShell #bash #Postscript #Rust. It saddens me that I have never perpetrated #Forth or #Lisp for any other audience than myself. It doesn't sadden me that I have forgotten at least some of them due to lack of use.

  14. I saw someone else do this, so I thought I should too ...

    Languages I have used to write software for other people to use, in roughly chronological order: #BASIC #Z80assembler #Pascal #C #BCPL #MIPSassembler #LotusAmiproMacros 😃 #VisualBASIC #DataEase #SQL #Java #Javascript #Perl #BourneShell #bash #Postscript #Rust. It saddens me that I have never perpetrated #Forth or #Lisp for any other audience than myself. It doesn't sadden me that I have forgotten at least some of them due to lack of use.

  15. I saw someone else do this, so I thought I should too ...

    Languages I have used to write software for other people to use, in roughly chronological order: #BASIC #Z80assembler #Pascal #C #BCPL #MIPSassembler #LotusAmiproMacros 😃 #VisualBASIC #DataEase #SQL #Java #Javascript #Perl #BourneShell #bash #Postscript #Rust. It saddens me that I have never perpetrated #Forth or #Lisp for any other audience than myself. It doesn't sadden me that I have forgotten at least some of them due to lack of use.

  16. @hl

    Night of the Living #Sed

    A Nightmare in #Elm Codebase

    The Little #Pascal s

    #BASIC Instinct

    #Snobol Express [imdb.com/title/tt0069291/]

    The #BourneShell Identity

    The Man (Page) on #Eiffel 's (Numeric) Tower [imdb.com/title/tt0041628/]

    #TCL Me

    Next, #Goal Wins? [imdb.com/title/tt10767052/?ref]

    Single word:

    Prolog [imdb.com/title/tt4955294/]

    Shakespeare:

    Much #Ada About Nothing
    #MacLisp
    #Asm : You Like It!
    All Is Hell that Ends Abnormally
    Love's Labour's ... #Lisp!

  17. @hl

    Night of the Living #Sed

    A Nightmare in #Elm Codebase

    The Little #Pascal s

    #BASIC Instinct

    #Snobol Express [imdb.com/title/tt0069291/]

    The #BourneShell Identity

    The Man (Page) on #Eiffel 's (Numeric) Tower [imdb.com/title/tt0041628/]

    #TCL Me

    Next, #Goal Wins? [imdb.com/title/tt10767052/?ref]

    Single word:

    Prolog [imdb.com/title/tt4955294/]

    Shakespeare:

    Much #Ada About Nothing
    #MacLisp
    #Asm : You Like It!
    All Is Hell that Ends Abnormally
    Love's Labour's ... #Lisp!

  18. @hl

    Night of the Living #Sed

    A Nightmare in #Elm Codebase

    The Little #Pascal s

    #BASIC Instinct

    #Snobol Express [imdb.com/title/tt0069291/]

    The #BourneShell Identity

    The Man (Page) on #Eiffel 's (Numeric) Tower [imdb.com/title/tt0041628/]

    #TCL Me

    Next, #Goal Wins? [imdb.com/title/tt10767052/?ref]

    Single word:

    Prolog [imdb.com/title/tt4955294/]

    Shakespeare:

    Much #Ada About Nothing
    #MacLisp
    #Asm : You Like It!
    All Is Hell that Ends Abnormally
    Love's Labour's ... #Lisp!

  19. Linux Fu: Alternative Shells - On Unix — the progenitor of Linux — there was /bin/sh. It was simple, by comparison to today’s shell... more: hackaday.com/2020/05/21/linux- #hackadaycolumns #thompsonshell #bourneshell #linuxhacks #kornshell #linux #shell #bash #dash #fish #unix #ash #ksh #zsh #sh