On 2008-07-08, Richard Neill wrote:
> Dear All,
>
> When using read, it would be really neat to be able to pre-fill the form
> with a default (or previous) value.
>
> For example, a script which wants you to enter your name, and thinks
> that my name is Richard, but that I might want to correct it.
Hi all,
I posted a bug report to bug-bash on June 21 about this seemingly long-standing
problem, and I followed up with more info pointing to the cause a few days ago.
I have not gotten any responses yet, and I am anxious to continue helping to
find a solution. I am sorry not to include a patch
Chet Ramey wrote:
In file locale.c, function get_locale_var, locale =
default_locale;/* system-dependent; not really portable. should it
be "C"? */
default_locale contains string returned by calling
setlocale(LC_ALL,NULL); and we then use this string to assign locale for
LC_'every_oth
put a backslash in front of the $ so that it is not substituted when
the here document read, but later when you run that code.
On 7/9/08, Mr Aras <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've been trying to implement a "for loop" in a "here document" but the
> "name" is never assigned to any of the
On Tue, Jul 08, 2008 at 08:44:47PM -0700, Mr Aras wrote:
[...]
> #!/bin/sh
> sh <<-EOF
> for word in hello world
> do
> echo word = $word
> done
> EOF
>
> output is:
> word =
> word =
>
>
> Can someone tell me why this doesn't work? I've been going nuts trying to
> figure this one out.
[