in reply to Re^2: looking for feedback on my first script
in thread looking for feedback on my first script
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: looking for feedback on my first script
by Marshall (Canon) on Jan 09, 2021 at 18:48 UTC | |
by shmem (Chancellor) on Jan 09, 2021 at 19:20 UTC | |
by Anonymous Monk on Jan 09, 2021 at 20:01 UTC | |
by Marshall (Canon) on Jan 09, 2021 at 22:21 UTC | |
by haukex (Archbishop) on Jan 10, 2021 at 00:58 UTC | |
by shmem (Chancellor) on Jan 10, 2021 at 02:53 UTC | |
by Marshall (Canon) on Jan 14, 2021 at 03:36 UTC |