svn commit: r212770 - head/usr.bin/script
Anonymous
swell.k at gmail.com
Mon Dec 20 15:30:44 UTC 2010
"David E. O'Brien" <obrien at FreeBSD.org> writes:
> Author: obrien
> Date: Thu Sep 16 22:31:03 2010
> New Revision: 212770
> URL: http://svn.freebsd.org/changeset/base/212770
>
> Log:
> + Add the 'command' argument (if supplied on the command line) to the
> typescript file. This creates a more complete typescript when invoked
> this way - more equal to invoking script without supplying the 'command'
> argument.
[...]
> + if (av[0])
> + for (k = 0 ; av[k] ; ++k)
> + fprintf(fscript, "%s%s", k ? " " : "", av[k]);
> + fprintf(fscript, "\r\n");
> +
An indent bug? 2nd fprintf() call is not under if(av[0]).
More information about the svn-src-head
mailing list