123 reputation
5
bio website brock-family.org/gavin
location Tokyo, Japan
age 94
visits member for 2 years, 3 months
seen Jul 29 at 13:07
           _                      
       .--' |    THERE'S MORE THAN ONE WAY TO DO IT
      /___^ |     .--.            
          ) |    /    \           
         /  |  /`      '.         
        |   '-'    /     \        
        \         |      |\       
         \    /   \      /\|      
          \  /'----`\   /         
          |||       \\ |          
          ((|        ((|          
          |||        |||          
         //_(       //_(

Dec
11
awarded  Scholar
Dec
11
accepted Is there a practical use for the GNU factor command?
Sep
5
comment Is there a practical use for the GNU factor command?
Thanks, I kind of got this from the man page. I was more curious why you would want to do this in a shell script, or similar. How often do people actually need prime roots? I updated the question to be clearer.
Sep
5
awarded  Editor
Sep
5
revised Is there a practical use for the GNU factor command?
edited title
Sep
5
awarded  Student
Sep
5
asked Is there a practical use for the GNU factor command?
Jul
2
awarded  Supporter
Jul
2
awarded  Autobiographer
Jul
2
comment How can I resolve a hostname to an IP address in a Bash script?
This seems to be the only solution on here that uses the OS's build in resolver - so works for /etc/hosts as well as DNS.
Jul
2
comment How can I resolve a hostname to an IP address in a Bash script?
See the resolveip entry below if you need to resolve something not in DNS (e.g. /etc/hosts)