@jgsjames@universeodon.com @sashag oh yes! 10 line awk scripts can do the work of fancy ETL tools that cost thousands. Why have shell scripts fallen out of favor? #ShellScripts
Trying to sharpen my Bash skills. Is there a smarter way of doing this? (of course there is)
Suggestions?
https://gist.github.com/n0kovo/678cb1dca47249c9d4260e0d0947d309
#bash #shell #ShellScripts #script #scripting #CodeReview #codeHelp #BashScript #BugBounty
#bash #shell #ShellScripts #script #scripting #codereview #codeHelp #bashscript #bugbounty
You know how when you do...
``` sh
my_cmd file_to_read > file_to_read
```
...then the redirect to write to the file truncates the file you're reading before you read from it?
Yeah, so do I. I learned that years ago.
I also refamiliarised myself with it today... 🤦
"Why is the file I'm reading from empty??" :t_blink:
When I write fragments of shell scripts in a Dockerfile or a GitHub Action my brain stops working :blobcatgoogly:
#ShellScripts #truncation #TIL
Ever wanted to add file drag-n-drop capability to your #ShellScripts? Me neither! But that's because I didn't think it was possible. But now:
Well I feel silly asking, but what does LOR.SH mean? Am I being daft? Is it something to do with #ShellScripts?
How To Parse CSV Files In Bash Scripts In Linux #ParseCSV CSVParsing #CSV #CommaSeparatedValues #BashScripting #ShellScripts #Scripting #Linux #Unix #BashTutorial #LearnShellScripting #Awk #Sed #LinuxCommands
https://ostechnix.com/parse-csv-files-in-bash-scripts/
#linuxcommands #sed #awk #LearnShellScripting #BashTutorial #UNIX #Linux #scripting #ShellScripts #bashscripting #CommaSeparatedValues #csv #ParseCSV
Conditional Statements In Bash Explained With Examples #ConditionalStatements #BashScripting #ShellScripting #ShellScripts #bash
https://ostechnix.com/bash-conditional-statements/
#bash #ShellScripts #shellscripting #bashscripting #ConditionalStatements
#Bash #Shell #Scripting for #beginners (Part 1) - #Fedora Magazine
https://fedoramagazine.org/bash-shell-scripting-for-beginners-part-1/
#bash #shell #scripting #beginners #fedora #unix #gnu #linux #ShellScripts
Learn how to use the most useful feature of Bash scripting -- loop control https://buff.ly/37nQQqG #Bash #sysadmin #shell #scripts #ShellScripts #LoopStatements
#LoopStatements #ShellScripts #scripts #shell #sysadmin #Bash