On Mon, 31 Jul 2000, Mike A. Harris wrote:
> echo -${zz%%*}:${zz##* }
[...]
> confusing. I tried replacing the hard TAB character with "\t",
> "\011", all to no avail. Any other idea?
Could you set a variable to be a tab character (ie. ${TAB} ;-), then
substitute it in here? Just a thou
On Tue, Aug 01, 2000 at 09:03:53AM +0800, John Summerfield wrote:
> >
> > It's not a perch! For bash it's a bass. :-)
> >
> > Fred
>
> There are lots of Perch; Macquarrie p, Golden p, Silver p, Nile p, Murray Cod
> (surely the biggest). And bass.
>
>
> There are different bass too; we have s
> On Tue, 1 Aug 2000, John Summerfield wrote:
>
> >> Any ideas? I'm using the following right now:
> >
> >You can do it in bash-2. However, I really think sed will prove faster.
>
> Hmm.. Well, I'd rather stick to bash/sed than bash2. If it isn't
> possible with bash alone, then I'll do that.
> On Tue, Aug 01, 2000 at 04:44:52AM +0800, John Summerfield wrote:
> > >
> > > Any ideas? I'm using the following right now:
> >
> > You can do it in bash-2. However, I really think sed will prove faster.
> >
> > For advanced bashing, I recommend you get a fishy (looks to me like some ki
> nd
On Mon, Jul 31, 2000 at 11:58:46PM -0400, Mike A. Harris wrote:
> On Mon, 31 Jul 2000 [EMAIL PROTECTED] wrote:
>
> The big space is a literal tab character that I entered by
> pressing CTRL-V TAB. When I use this, it works
> perfectly. However, such code is very unreadable and
> confusing. I t
On Mon, 31 Jul 2000 [EMAIL PROTECTED] wrote:
>On Mon, Jul 31, 2000 at 04:10:43PM -0400, Mike A. Harris wrote:
>> Is there an easy way using bash INTERNALS to do the following:
>>
>> Read in a file containing two numbers on one line separated by
>> space, and replace the whitespace between them w
On Tue, 1 Aug 2000, John Summerfield wrote:
>> Any ideas? I'm using the following right now:
>
>You can do it in bash-2. However, I really think sed will prove faster.
Hmm.. Well, I'd rather stick to bash/sed than bash2. If it isn't
possible with bash alone, then I'll do that. It is possible
On Mon, Jul 31, 2000 at 04:10:43PM -0400, Mike A. Harris wrote:
> Is there an easy way using bash INTERNALS to do the following:
>
> Read in a file containing two numbers on one line separated by
> space, and replace the whitespace between them with a ":"?
>
> I'm trying to optimize some stuff i
On Tue, Aug 01, 2000 at 04:44:52AM +0800, John Summerfield wrote:
> >
> > Any ideas? I'm using the following right now:
>
> You can do it in bash-2. However, I really think sed will prove faster.
>
> For advanced bashing, I recommend you get a fishy (looks to me like some kind
> of perch) boo
> Is there an easy way using bash INTERNALS to do the following:
>
> Read in a file containing two numbers on one line separated by
> space, and replace the whitespace between them with a ":"?
>
> I'm trying to optimize some stuff in a script and trying to get
> rid of awk/sed/perl calls that ar
10 matches
Mail list logo