Re: Readline fencepost error with long prompt

2009-04-27 Thread Andreas Schwab
Chet Ramey writes: > Try the attached patch. It should fix the problem without introducing any > regressions. Looks good, I couldn't find any regressions. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for s

Testing standard output and exit statuses from commands in a pipe

2009-04-27 Thread Angel Tsankov
Hello! I'd like to pipe the output from a command, say A, to another command, say B, then check if both commands completed successfully (i.e.with exist status 0) and, if so, compare the standard output from command B to some string. How can I do this in a bash script? Regards, Angel Tsankov

Re: Testing standard output and exit statuses from commands in a pipe

2009-04-27 Thread Greg Wooledge
On Mon, Apr 27, 2009 at 05:02:26PM +0300, Angel Tsankov wrote: > I'd like to pipe the output from a command, say A, to another command, say > B, then check if both commands completed successfully (i.e.with exist status > 0) PIPESTATUS An array variable (see Arrays below) con

bug: variables.c does not compile ...

2009-04-27 Thread horst wente
... after having configured bash-3.2.48 with "--disable-debugger": --- *** --- * * --- * GNU bash, version 3.2.48(3)-release (i386-pc-linux-gnu) --- *

Script to Convert HTML to MIME mail -- HELP!

2009-04-27 Thread sushisan
Hi: I have writed a script that read a HTML file and convert this in a multipart mime for send in a mail. But the result isn't interpreted like a mime file!! Somebody can see the error??? This is an example of an output of the script: http://pastebin.com/m5a5e6a37 This is an example of an outp