Patrick Nagelschmidt wrote:
> Machine Type: i686-redhat-linux-gnu
>
> Bash Version: 3.2
> Patch Level: 33
> Release Status: release
>
> Description:
> The script below fails on my box with the following output:
>
> 1197676800
> date: invalid date `1970-01-01 \033[?1034h1197676800 sec'
>
> So for some reason the value passed to date got a nasty prefix.
I can't reproduce this on fedora core 6, which is the closest Linux
box. I suspect this is prompt string or PROMPT_COMMAND related, so a
transcript of running this script with `bash -x' would help.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
Live Strong. No day but today.
Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/