On Tue, Dec 22, 2015 at 04:04:16AM +0100, Ángel González wrote:
> Aren't you making things more complex than needed, with so much pipes
> and awk?
>
> date(1) is your friend:
>
> For instance:
> $ for y in {1900..2199} ; do echo -n "$y "; for m in {1..12}; do date +%A -d
> $y-$m-13; done | grep
2015-12-22 08:16:28 -0500, Greg Wooledge:
[...]
> t=946702800 # Start at Sat Jan 1 12:00:00 EST 2000
> endyear=2036
>
> while true; do
> printf -v year '%(%Y)T' "$t"
> ((year > endyear)) && break
> printf -v day '%(%d)T' "$t"
> printf -v dow '%(%w)T' "$t"
> if [[ $day = 13 && $dow =
Am Tue, 22 Dec 2015 08:16:28 -0500
schrieb Greg Wooledge :
> On Tue, Dec 22, 2015 at 04:04:16AM +0100, Ángel González wrote:
> > Aren't you making things more complex than needed, with so much
> > pipes and awk?
> >
> > date(1) is your friend:
> >
> > For instance:
> > $ for y in {1900..2199} ;
On Mon, 21 Dec 2015, Chet Ramey wrote:
My position is that a feature like this is not popular enough to be made
the default, and the way to move forward and make something like it
available is to make it a configurable option. The standard way to do
that is to make it an option in config-top.h,
On Mon, Dec 21, 2015 at 5:17 PM, Ángel González wrote:
> Chet Ramey wrote:
> > The current configurable startup file options are insufficient for
> > their purposes because they can be enabled or disabled by vendors,
> > and these folks would rather not modify the "vendor" parts of the
> > system
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-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACK
Hi,
I much align to Piotr's approach to this. And I'd reiterate his important
question: "How much harm can it do?"
Well, really, if there is a counter argument to inventing such a hook,
please put it forward now, because it needs to be considered.
I wish config-top.h or configure would be a solut
Hi Rob,
IMHO, the crap of vendors that you mentioned is very real and, it is
largely caused by -and not causing-
lack of a single place for applying environment tuning/control. Compare
bash vs zsh:
http://blog.flowblok.id.au/static/images/shell-startup-actual.png # if you
have similar diagram for
On 12/21/15 7:38 PM, Carlo Milanesi wrote:
> Bash Version: 4.3
> Patch Level: 11
> Release Status: release
>
> Description:
> Every time I insert a character in a command-line in a position
> followed by some characters and some blanks, Bash crashes.
>
> Repeat-By:
> In a new command
On 12/22/2015 03:38 PM, Chet Ramey wrote:
On 12/21/15 7:38 PM, Carlo Milanesi wrote:
Bash Version: 4.3
Patch Level: 11
Release Status: release
Description:
Every time I insert a character in a command-line in a position
followed by some characters and some blanks, Bash crashes.
Repe
On Tue, Dec 22, 2015 at 04:04:16AM +0100, Ángel González wrote:
> Bill Duncan wrote:
> > Remember that while there are 14 patterns of years, leap years don't
> > impact Friday the 13th for January/February..
> >
> > This isn't an exhaustive analysis, but a quick check for 300 years
> > didn't show
On Tue, Dec 22, 2015 at 8:07 PM, Carlo Milanesi
wrote:
> On 12/22/2015 03:38 PM, Chet Ramey wrote:
>>
>> On 12/21/15 7:38 PM, Carlo Milanesi wrote:
>>> Description:
>>> Every time I insert a character in a command-line in a position
>>> followed by some characters and some blanks, Bash c
On 12/22/2015 09:14 PM, Piotr Grzybowski wrote:
On Tue, Dec 22, 2015 at 8:07 PM, Carlo Milanesi
wrote:
On 12/22/2015 03:38 PM, Chet Ramey wrote:
On 12/21/15 7:38 PM, Carlo Milanesi wrote:
Description:
Every time I insert a character in a command-line in a position
followed by som
On Tue, 22 Dec 2015, Fotis Georgatos wrote:
Compare bash vs zsh:
http://blog.flowblok.id.au/static/images/shell-startup-actual.png # if
you have similar diagram for your distro, please post! fi. HPC systems
rely on environment modules [1] and bash is still particularly tricky
while using it,
14 matches
Mail list logo