News for hackers. Stuff that matters.
Re:Problem solving with Unix commands by darrenf on Thursday February 14, 2019 @09:01AM (#19161888)
Right - though that's solvable with xargs:

    $ echo "0005" | xargs printf '%d\n'
    5
That said, my suggestion doesn't work anyway since the leading 0 marks it as octal, d'oh (as mentioned elsewhere in the thread).

There are no comments on this comment yet.