Mail Archives: cygwin/2006/01/28/11:25:13
On Tue, 24 Jan 2006, Eric Blake wrote:
> According to Igor Peshansky on 1/23/2006 9:34 AM:
> >
> > Most of the messages are diagnostics to track script progress. The only
> > exceptions are the lines below:
> >
> > ./00bash.sh.done: line 12: ./01bash.bat: No such file or directory
> > cp: cannot stat `./01bash.bat.t': No such file or directory
> > rm: cannot remove `./01bash.bat.t': No such file or directory
> >
> > The first set is from 00bash.sh (it should probably have a test for the
> > existence the .bat file). Also, in-place edits should work just fine
> > (using 'sed -i -e "/^echo/d; s,REM BASHPATH,$bashpath," 01bash.bat').
>
> Duly noted; bash-3.1-2 will improve on this situation
One quick note: I chanced upon my comment from 2 years ago regarding a bug
in sed that makes it go into an infinite loop with "-i" if /tmp is not
writable. Don't know if it still applies, but this is something to watch
out for. A workaround is to invoke sed with TMP (or TMPDIR) set to a
known-writable directory (e.g., "/etc/postinstall" or ".").
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -