#LinuxHacks #SoftwareHacks #Assemblylanguage #Bashscript #Bourneshell
~/.profile. Vejo umas barbaridades cometidas que devo refatorar, mas também reflito que, felizmente, evoluí um pouquinho em questão de
nesse relativamente curto espaço de tempo... 
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
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
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.
Night of the Living #Sed
A Nightmare in #Elm Codebase
The Little #Pascal s
#BASIC Instinct
#Snobol Express [https://www.imdb.com/title/tt0069291/]
The #BourneShell Identity
The Man (Page) on #Eiffel 's (Numeric) Tower [https://www.imdb.com/title/tt0041628/]
#TCL Me
Next, #Goal Wins? [https://www.imdb.com/title/tt10767052/?ref_=fn_al_tt_2]
Single word:
Prolog [https://www.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!
Agree with many, disagree with others:
“Shell Script Best Practices”, Shrikant Sarat (https://sharats.me/posts/shell-script-best-practices/).
Via HN: https://news.ycombinator.com/item?id=33354286
On Lobsters: https://lobste.rs/s/knvmr1/shell_script_best_practices
#Shell #ShellScript #Bash #BourneShell #Scripting #Unix #BestPractices
https://www.commandlinefu.com/commands/browse #linuxgeheimtipp #linuxtips #linux #shell #bourne_shell #bourneshellQué es #ZSH y cómo utilizar sus temas y complementos
https://www.ochobitshacenunbyte.com/2019/09/18/que-es-zsh-y-como-utilizar-sus-temas-y-complementos/