Evil Bash Tips
@evilbashtips
Don't hate me because I'm beautiful.
You might like
after some reflection, I think there are plenty of evil zsh tips as well.
I will replace your 10k line haskell or rust app with 50 lines of shell script.
Haskell has this scary concept called "a monad". With me, all you need to know is "|" and you are done. I don't see what the issue is.
Libel.
Every shell script can be converted into a shorter Haskell program that actually works. Your move, @evilbashtips
Even Mark can't do it in haskell so... guess who he turns to!
as usual, "fixing" problems with an unhealthy amount of sed: HSPEC_OPTIONS="--format=progress --failure-report=.hspec-failures --rerun --rerun-all-on-success" ghcid --test=":main" -c "stack ghci :spec --ghci-options -Wwarn" | sed -u 's/✓ <interactive> passed 100 tests.//g'
A MapReduce framework written in awk, bash and GNU Parallel: github.com/sorhus/bash-re… Heaven.
Feel free to share with me your best bash programming (evil) tips. I'll probably take credit for them.
This is the year of bash on the desktop.
Linux is coming to the desktop, at last. (rm -rf /mnt/c)
Still the worlds most popular desktop operating system. What's the first foreign program then choose to run? That's right. Me.
Hey, you can love me on Windows now. You were granted 3 wishes and this was your first? Wow. I am flattered.
Never use a simple command when a regex can do the job.
Tip: put #anything at the top of your script file. It will most likely work anyway and readers will think you know something they don't.
tip: convert a number to a string and then you can use regex to see if it is a -ve value.
United States Trends
- 1. Wentz 22.4K posts
- 2. Vikings 47K posts
- 3. Aaron Gordon 5,829 posts
- 4. Pacers 20.9K posts
- 5. Chargers 51.3K posts
- 6. Brosmer 3,512 posts
- 7. Shai 19.2K posts
- 8. Herbert 15.4K posts
- 9. #criticalrolespoilers 5,142 posts
- 10. #Skol 5,103 posts
- 11. $UNI 3,135 posts
- 12. Quentin Johnston 2,020 posts
- 13. Al Michaels 1,106 posts
- 14. #TNFonPrime 2,258 posts
- 15. Justin Jefferson 3,900 posts
- 16. Ajay Mitchell 1,933 posts
- 17. Chet 12.9K posts
- 18. JJ McCarthy 1,999 posts
- 19. Mathurin 4,711 posts
- 20. #BoltUp 3,246 posts
Something went wrong.
Something went wrong.