On 17.08.2011 20:53, Stephane CHAZELAS wrote:
2011-08-17, 08:32(+02), Francky Leyn:
On 8/16/2011 10:53 PM, Stephane CHAZELAS wrote:
2) If VAR coincides with an environment variable, and in the
script I change it value, is this then propagated to outside
the script? Is the environment v
On 18.08.2011 12:44, Stephane CHAZELAS wrote:
2011-08-17, 08:24(-04), Greg Wooledge:
On Tue, Aug 16, 2011 at 03:41:19PM -0700, Linda Walsh wrote:
Ken Irving wrote:
Maybe this?
today_snaps=( ${snap_prefix} )
but as you mention, that will put them into an arraysorry "imprecise
term
Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i686'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale'
-DP
x27;]'
+++ unset SYSFONTACM SYSFONT
+++ unset sourced
+++ unset langfile
++ for i in '/etc/profile.d/*.sh'
++ '[' -r /etc/profile.d/less.sh ']'
++ . /etc/profile.d/less.sh
+++ '[' -x /usr/bin/lesspipe.sh ']'
+++ export 'LESSOPEN=|/usr/bin/lesspipe.sh %s'
+++ LESSOPEN='|/usr/bin/lesspipe.sh %s'
++ for i in '/etc/profile.d/*.sh'
++ '[' -r /etc/profile.d/mc.sh ']'
++ . /etc/profile.d/mc.sh
+++ alias 'mc=. /usr/share/mc/bin/mc-wrapper.sh'
++ for i in '/etc/profile.d/*.sh'
++ '[' -r /etc/profile.d/vim.sh ']'
++ . /etc/profile.d/vim.sh
+++ '[' -n '3.2.33(1)-release' -o -n '' -o -n '' ']'
+++ '[' -x //usr/bin/id ']'
//usr/bin/id -u
+++ '[' 508 -le 100 ']'
+++ alias vi
+++ alias vi=vim
++ for i in '/etc/profile.d/*.sh'
++ '[' -r /etc/profile.d/which-2.sh ']'
++ . /etc/profile.d/which-2.sh
+++ alias 'which=alias | /usr/bin/which --tty-only --read-alias
--show-dot --show-tilde'
++ unset i
++ unset pathmunge
+ let STEP=86400
++ date +%s
+ let CALCTIME=1197919330
++ echo '1197919330 - (1197919330 % 86400) - 86400'
++ bc -i
++ tail -1
+ export 'DAYSTART=1197763200'
+ DAYSTART='1197763200'
+ echo '1197763200'
1197763200
++ date -d '1970-01-01 1197763200 sec' '+%Y-%m-%d %T'
date: invalid date `1970-01-01 \033[?1034h1197763200 sec'
+ export BASHBUG=
+ BASHBUG=
In FC6 it worked fine for me as well :)
In fact it did so for two years, but somewhere between late fedora 7
and early fedora 8 it suddenly stopped.
Br,
Patrick
At 17.12.2007, Bob Proulx wrote:
Patrick Nagelschmidt wrote:
> The script below fails on my box with the following output:
>
> 1197676800
> date: invalid date `1970-01-01 \033[?1034h1197676800 sec'
>
> So for some reason the value passed to
Thanks. Amazingly, I got it figured out shortly after, and works like
a charm now.
Patrick
On Thu, Dec 18, 2008 at 1:57 PM, Eric Blake wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> According to pwaugh on 12/18/2008 1:49 AM:
>> digest = $( echo -n ${1} | g
I just came across:
Example 19-8 Here: http://tldp.org/LDP/abs/html/here-docs.html It looks
like this example meets my needs. I'm curious why this method is
referred to as devious though?
-- Patrick
On Thu, Oct 31, 2019 at 11:54 PM Patrick Blesi wrote:
> I'm looking for a h
ccomplish this? If not, is this something that could feasibly be
implemented? Would it be desirable?
Thanks,
Patrick
equired. The non-valid input for the
command would be MAGIC_WORD. Do you know if this command is POSIX
compliant/supported by a large number of shells? Is is supported by the
bourne shell?
On Fri, Nov 1, 2019 at 3:37 AM Ilkka Virta wrote:
> On 1.11. 06:54, Patrick Blesi wrote:
> > I'
/utilities/xcu_chap02.html#tag_02_07_04,
but it appears that the quoted here-doc and command substitution are shell
features defined by the POSIX standard.
Thank you very much for your help.
-- Patrick
On Fri, Nov 1, 2019 at 3:44 PM Eli Schwartz wrote:
> On 11/1/19 3:57 PM, Patrick Blesi w
ld be implemented
at the OS level (file permissions, etc.).
Thank you for your help.
-- Patrick
On Fri, Nov 1, 2019 at 3:57 PM Andreas Schwab wrote:
> On Nov 01 2019, Patrick Blesi wrote:
>
> > The actual use case is taking a command from a Ruby script:
> >
> >
> https://g
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu'
-DCONF_VENDOR='unknown' -DLOCALEDIR='/usr/share/locale'
On 30/06/15 02:27, Chet Ramey wrote:
> On 6/29/15 3:41 PM, Patrick Plagwitz wrote:
>
>> Bash Version: 4.3
>> Patch Level: 39
>> Release Status: release
>>
>> Description:
>> There's a bug that happens when waiting for a child process to complete
&
On 22/07/15 04:01, Chet Ramey wrote:
> On 7/16/15 12:05 AM, Patrick Plagwitz wrote:
>
>>> This is another case of the scenario most recently described in
>>>
>>> http://lists.gnu.org/archive/html/bug-bash/2014-03/msg00108.html
>>>
>>> In this
83647 /bin/bash --norc
bash: xmalloc: cannot allocate 18446744056529682440 bytes
Fix:
[Description of how to fix the problem. If you don't know a
fix for the problem, don't include this section.]
--
Patrick Donnelly
Configuration Information [Automatically generated, do not change]:
Machine: i386
OS: linux-gnu
Compiler: i386-redhat-linux-gcc
Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i386-redhat-linux-gnu'
-DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/sha
16 matches
Mail list logo