Prologue: Departure to Neverland
Once upon a time, in the mystical world of terminals, we find ourselves tagging along on a Peter Pan-...
For further actions, you may consider blocking this person and/or reporting abuse
For me what makes the shell something unique are pipes:
A killer one-linner proves that
🤯Nice. Is there similar that takes a sequence of even and odd numbers and only sum odds?
yes:
seq 9 | awk '{($1 % 2 ? sum+=$1 : 0)} END { print sum}'Now that blows my mind 🤯. 😍🎊 Is
awknot programming language by itself?Sir, your writing style is brilliant
Thank you, Antonov. I am attempting a story like telling of concepts 🫢 I love telling stories.
I use mostly openjourney, bing’s Dalle-E, and Adobe’s Firefly.
WoW! That is awesome. Perhaps another article. I primary use Python 🐍 and Rust 🦀, Bash and Lua 🌘 are secondary.
My main goal was not to show the power or effectiveness or to compare the languages. My aim is to show that even though we can write some of code very similar, some languages have their syntactic sugar 🤗.
With the goal of filtering numbers and adding, is it possible to use Bash modern way of “hiding" loops? Did I miss Bash syntactic sugar?
Great Story, Like it 🔥
I am glad you did 🪝🙏🏿
Nice catch! 👌🏾 The function already echo instead of
return🫣. And were we to return then we are limited to 0-255 😔Thank you 🙏🏾 for reading and catching my blunder 🤭
I am cheering 📣 for your success. You are awesome 🙌🏿
That is another level 🙌🏿🥳 and pure genius.
Nice! Are you using LLMs under the hood?
Oh no! I am not suggesting for better-ness. I just thought I missed something in Bash 😊
Nice 👌🏾. I worked with Lua 🌘 primary with my kids as they are Roblox lovers. I have not yet dive into its power than simple scripts.