Here the code is going to return the return value of sprintf(), presumably "1" which really doesn't mean anything in the context of this code.
From the docs (sprintf):
sprintf FORMAT, LISTReturns a string formatted by the usual "printf" conventions of the C library function "sprintf".
Please elaborate how sprintf might return "1", other than as sprintf "1", as sprintf "%d", 1 or sprintf "%s",1; and how that might be the case given the incriminated statement.
In reply to Re^3: looking for feedback on my first script
by shmem
in thread looking for feedback on my first script
by thirtySeven
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |