Patrefans
The Linux Cast from patreon
The Linux Cast patreon

Bash Scripting Snobbery

🕑 Added 2021-03-29 23:46:30 +0000 UTC

Comments

Matthew Weber

My point was that you could technically accomplish the same thing with either of them, and there are a ton of things like that in bash. I mean cat and less do variations on the same thing. They do different things too, of course, but the idea is still there.

Zach Enseleit

Echo ends in a new line, whereas printf is basically bare-bones. Printf is much more extensible, and if you keep fiddling, you will probably run into the difference naturally. Definitely a lot of stuff to tinker with, you're 100% with this one, I encourage you to mess around as much as possible.


More Creators