Carl,
you have to give it as an octal number... 1000(8) = 512(10), so your
argument for that script should be 512. I'm not sure if a C-notation
would be accepted, but you can try, 01000.
When you enter 1000, the printf statement inside the script:
lo=`printf "%04o" $lo`
generates
lo=`printf "%04o" 1000`
which basically results in this:
lo=1750
Obviously that's not a match. Just try 512.
Hope this helps,
Anton
> --
> You received this message because you are subscribed to the Google Groups "[PiDP-11]" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
pidp-11+u...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/pidp-11/c59a966a-ff97-41e0-9321-4d747c5025b0n%40googlegroups.com.