News for hackers. Stuff that matters.
Re:Unix History and the `DC` Calculator by alisonatwork on Sunday September 01, 2024 @11:58PM (#41422459)
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!
Re:Unix History and the `DC` Calculator by gavinhoward on Monday September 02, 2024 @12:24AM (#41422563)
I have a user on Windows? Gasp!

Glad you like it!

Re:Unix History and the `DC` Calculator by baudaux on Monday September 02, 2024 @01:39AM (#41422886)
Re:Unix History and the `DC` Calculator by 082349872349872 on Monday September 02, 2024 @02:04AM (#41422987)
Also, unlike bc, dc can be used to write binary files.

(and it sure beats a magnetised needle and a steady hand)