Re: output redirection with process substitution asynchronous?

2009-12-07 Thread Marc Herbert
pjodrr wrote: It would be nice if you explained what it is you're attempting to do, rather than ask for a solution for what you're thinking would do that. To be honest that is the first thing he (tried to) do: pjodrr wrote: how can I prefix every line of output of some command with a

Re: output redirection with process substitution asynchronous?

2009-12-07 Thread Marc Herbert
Marc Herbert wrote: What is wrong with the following: prefix_with_date () { while read; do printf '%s: %s\n' $(date) $REPLY; done } seq 4 | prefix_with_date ls | prefix_with_date Sorry I missed the fact that you want to run your commands in the current shell.

Re: output redirection with process substitution asynchronous?

2009-12-07 Thread DennisW
On Dec 7, 10:25 am, Marc Herbert marc.herb...@gmail.com wrote: Marc Herbert wrote: What is wrong with the following: prefix_with_date () {     while read; do         printf '%s: %s\n' $(date) $REPLY;     done } seq 4 | prefix_with_date ls | prefix_with_date Sorry I missed

Fullscreen unchecking show menubar.

2009-12-07 Thread Rodney Varney III
From: rodne...@gmail.com To: bug-bash@gnu.org,b...@packages.debian.org Subject: Full screen and unchecking show menubar Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'

bash is not capable of comparing of strings and real numbers

2009-12-07 Thread phani krishna jampala
bash is not capable of comparing of strings ( imean interms of lessthan or greater than etc) and real numbers ( the float values). So can any one please consider and if possible can release solution in current version 4 it self will be more appreciated. Thanks Phani Krishna

Re: Fullscreen unchecking show menubar.

2009-12-07 Thread pk
Rodney Varney III wrote: Repeat-By: View, fullscreen, view, uncheck show menubar Where are you seeing any menubar in bash? You're probably referring to the terminal in which bash is running. In that case, it's likely that it's a problem with the specific terminal implementation (eg gnome

Re: bash is not capable of comparing of strings and real numbers

2009-12-07 Thread pk
phani krishna jampala wrote: bash is not capable of comparing of strings ( imean interms of lessthan or greater than etc) It is, if you use [[ ]] a=abcd b=bcde if [[ $b $a ]]; then echo $b is greater than $a fi and real numbers ( the float values). True, but I can't really speak as

Re: Fullscreen unchecking show menubar.

2009-12-07 Thread DennisW
On Dec 6, 9:39 pm, Rodney Varney III rodne...@gmail.com wrote: From: rodne...@gmail.com To: bug-b...@gnu.org,b...@packages.debian.org Subject: Full screen and unchecking show menubar Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler:

Re: bash is not capable of comparing of strings and real numbers

2009-12-07 Thread DennisW
On Dec 7, 4:22 pm, pk p...@pk.invalid wrote: phani krishna jampala wrote: bash is not capable of comparing of strings ( imean interms of lessthan or greater than etc) It is, if you use [[  ]] a=abcd b=bcde if [[ $b $a ]]; then   echo $b is greater than $a fi and real numbers ( the

Re: output redirection with process substitution asynchronous?

2009-12-07 Thread pjodrr
Hi Marc, On Dec 7, 5:25 pm, Marc Herbert marc.herb...@gmail.com wrote: Marc Herbert wrote: What is wrong with the following: prefix_with_date () {     while read; do         printf '%s: %s\n' $(date) $REPLY;     done } seq 4 | prefix_with_date ls | prefix_with_date Sorry I