Re: A Feature Request for History

2011-08-03 Thread Sam Steingold
> * Chet Ramey [2011-06-13 15:26:27 -0400]: > > On 6/13/11 1:10 PM, Bradley M. Kuhn wrote: > >> The only feature you describe above missing with that configuration is >> that existing shells won't find history commands written out >> in-between. I have a tendency to close/open bash shells, so I d

Re: A Feature Request for History

2011-08-03 Thread Sam Steingold
> * Sam Steingold [2011-08-03 11:12:42 -0400]: > > here is my current top: > > 29475 sds 25 0 240m 171m 1344 R 100.1 1.4 15:58.20 bash > 10482 sds 25 0 231m 162m 1336 R 100.1 1.4 16:24.99 bash > 24588 sds 25 0 230m 161m 1340 R 99.7 1.3 13:21.40 bash 1. this is out

Coproc usage ... not understanding

2011-08-03 Thread Linda Walsh
I'm trying to make first use of a coproc and having difficulties. Multiple versions I've tried (so exact details like how to do redirection in statement 10, have been varied in many non-working ways! But showing the last version:

delete matching entries from history

2011-08-03 Thread Sam Steingold
how do I delete matching entries from bash history? every other line in the file is "#time" so I cannot use the simple grep. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://dhimmi.com http://camera.org http://memri.org http://thereligionofpeace.com

Re: Coproc usage ... not understanding

2011-08-03 Thread Andreas Schwab
awk would be much better suited for this task. Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."

Re: feature requests - bash history

2011-08-03 Thread What, me urgent?
As a follow-up to my post of a few weeks ago (excerpted below), here are two bash procedures I wrote for my bashrc to demonstrate what I mean. Even if the idea doesn't rise to a level to be integrated as bash features, maybe some readers of this list or other bash users will find these useful. C

Re: Coproc usage ... not understanding

2011-08-03 Thread Linda Walsh
I could do the whole thing in perl as well. Part of my reluctance to do that, is I wanted to learn why coproc wasn't working, and how to make it work. If I only use 'old skills', how will I learn anything new? Andreas Schwab wrote: awk would be much better suited for this task. Andreas.

Re: Problem:bash_builtin:mapfile:option_C:executing_indxed_array_value:better_english_and_more_info

2011-08-03 Thread Chet Ramey
On 7/31/11 10:24 AM, Bruxo Pi wrote: > Bash Version: 4.2 > Patch Level: 8 > Release Status: release > > Description: > > Bash bultin 'mapfile', with -C option, executes any value read from stdin. > The usage - from bash_ref.pdf - is: > mapfile [-n count] [-O origin] [-s count] [-t] [-u fd] [-C

Re: The mailing list software interfered with my content

2011-08-03 Thread Eric Blake
On 08/03/2011 04:45 PM, What, me urgent? wrote: The mailing list software interfered with my content = OUCH! In my most recent post, the mailing list software replaced the string "address@hidden" for a section of code snippet! Not the list software, but mer

Re: The mailing list software interfered with my content

2011-08-03 Thread Bob Proulx
Eric Blake wrote: > What, me urgent? wrote: > >In my most recent post, the mailing list software replaced the string > >"address@hidden" for a section of code snippet! > > Not the list software, but merely the web archiver that you are > viewing the mail in. If you are actually subscribed to the