Hello, Johannes Schindelin wrote: > > > Of course, this script is dumb and has no way to edit files whose > > > names contain spaces > > > > Wouldn't using xargs fix that? > > I tried that first, even in the proper form to catch newlines also, with > "-z" for ls-files and "-0" for xargs. > > Alas, vi complained to me by saying "Not started from a terminal", and > wrecking my terminal settings. For example, echo was set to off, and > Ctrl+C no longer worked. Another problem is, that only GNU xargs has -0, the version on Solaris (and probably on *BSD) doesn't know it. Best regards Uwe -- Uwe Kleine-König http://www.google.com/search?q=gigabyte+in+bit - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html