I think you need to remove the
-0 from the xargs command line. The
-0 is used to separate the fields via null termination, and as far as I know,
cut does not support this. Instead I suggest using
-d '\n' to terminate the fields at line breaks:
... | cut -c -19 | xargs -d '\n' -n1 ./timesec.sh
From the Docs
Input items are terminated by a null character instead of by whitespace, and the quotes and backslash are not special (every character is taken literally). Disables the end of file string, which is treated like any other argument. Useful when input items might contain white space, quote marks, or backslashes. The GNU find -print0 option produces input suitable for this mode.
Input items are terminated by the specified character. Quotes and backslash are not special; every character in the input is taken literally. Disables the end-of-file string, which is treated like any other argument. This can be used when the input consists of simply newline-separated items, although it is almost always better to design your program to use --null where this is possible. The specified delimiter may be a single character, a C-style character escape such as \n, or an octal or hexadecimal escape code. Octal and hexadecimal escape codes are understood as for the printf command. Multibyte characters are not supported.