A deeper introduction to Unix DC
ben165.github.io
A deeper introduction to Unix DC
1–10 of 21 posts
Re: A deeper introduction to Unix DC
#2[0] https://en.wikipedia.org/wiki/Bc_(programming_language)#Hist...
Re: A deeper introduction to Unix DC
#3Re: A deeper introduction to Unix DC
#4Re: A deeper introduction to Unix DC
#5 echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq" | dc
I've never tried to understand what's really going on to produce the result, but also wouldn't really know where to start - maybe someone in HN's audience can enlighten me? :)Re: A deeper introduction to Unix DC
#6dc is worth having installed because of this CLI gem alone: echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq" | dc I've never tried to understand what's really going on to produce the result, but also wouldn't really know where to start - maybe someone in HN's audience can enlighten me? :)
Re: A deeper introduction to Unix DC
#7dc is worth having installed because of this CLI gem alone: echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq" | dc I've never tried to understand what's really going on to produce the result, but also wouldn't really know where to start - maybe someone in HN's audience can enlighten me? :)
dc and bc are standard POSIX utils (and also part of busybox for embedded systems) so for most unix-like systems they're installed by default unless you take active measures to exclude them.
Re: A deeper introduction to Unix DC
#8dc is worth having installed because of this CLI gem alone: echo "[q]sa[ln0=aln256%Pln256/snlbx]sb729901041524823122snlbxq" | dc I've never tried to understand what's really going on to produce the result, but also wouldn't really know where to start - maybe someone in HN's audience can enlighten me? :)
dc and bc are standard POSIX utils (and also part of busybox for embedded systems) so for most unix-like systems they're installed by default unless you take active measures to exclude them.
Many GNU/Linux distros (at least Debian and RHEL) install neither `dc` nor `bc` by default, afaik.
Re: A deeper introduction to Unix DC
#96581840dnP
156 is unimplemented
Is that a gnuism?