4 ms·
I'm not sure why I started using dc instead of bc, but I think it might have been because at one point in time bc output a bunch of extra noise that made it ann
by alisonatwork 2y ago
I'm not sure why I started using dc instead of bc, but I think it might have been because at one point in time bc output a bunch of extra noise that made it annoying to use in shell scripts, so I just learned dc is the standard way to calculate stuff in UNIX and kept on using it that way. I noticed some new Linuxes don't have it installed and I'm always stuck for how to calculate things in shell scripts. I guess people just use Bash nowadays. In any case, thanks to the Gavin Howard dc I still use it today, even on the Windows command line. dc is great!
- gavinhoward 2y agoI have a user on Windows? Gasp! Glad you like it!
- baudaux 2y agoGNU bc online: https://exaequos.com/?a=/usr/bin/bc https://exaequos.com/?a=/usr/bin/bc
- 082349872349872 2y agoAlso, unlike bc, dc can be used to write binary files. (and it sure beats a magnetised needle and a steady hand)