bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: operators available in bash versions


From: Greg Wooledge
Subject: Re: operators available in bash versions
Date: Mon, 30 Nov 2009 12:43:44 -0500
User-agent: Mutt/1.4.2.3i

On Mon, Nov 30, 2009 at 12:35:32PM -0500, Mike Frysinger wrote:
> On Monday 30 November 2009 12:12:17 Greg Wooledge wrote:
> > On Mon, Nov 30, 2009 at 11:15:38AM -0500, Mike Frysinger wrote:
> > > On Monday 30 November 2009 06:12:35 Gerard wrote:
> > > > I need to know if " $(< " also works on Bash < 4.
> > >
> > > it's been around for pretty much all time.  bash-2 had it for sure, and
> > > that is ancient.
> > 
> > It doesn't exist in bash 1.14.7, which is the oldest version I have
> > available.  It does exist in 2.04, which is the second oldest I have.
> 
> bash-2 was released over a decade ago and for doing any realistic work, that 
> is the same as 'all time'.  realistically, you're going to run into 
> portability problems with the tools run in the script rather than the script 
> itself.

Funny thing, how all those scripts I have to write for the machine with
bash 1.14.7 don't count as "realistic"....

Though you're right about the toolset being the main issue.  I had
to find a way to express things for the older version of GNU date
(from sh-utils, before coreutils was called coreutils) on that box.
Fortunately, my needs weren't very complex.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]