"David E. O'Brien" <obr...@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"); > +
Can you make it opt-in? It breaks scripts that do not expect anything other than command output in a typescript. For example, timestamps can be disabled by `-q' option. Which make below syntax script -q file command ... another way to write command >file 2>&1 but it captures output sent to /dev/tty, too. Besides, the commit also breaks bin/114465, a replay feature from NetBSD. _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"