Re: GPL alert ? http://thinstall.com/unix_tools/

2003-07-28 Thread Peter S Tillier
n your TEMP (in my case C:\Windows\temp) directory that it doesn't clean up. I had 4 of these. HTH -- Peter S Tillier "Who needs perl when you can write dc, sokoban, arkanoid and an unlambda interpreter in sed?" -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-s

Re: Cygwin's vanilla sed : capabilities and limitations

2003-07-23 Thread Peter S Tillier
original mail: Q1. Querying info sed reveals the expression matcher to be "greedy", matching the longest possible string. Is there a way to make it match the shortest possible, so that echo aaabbbccc | sed 's/^.*b//' (altered but similar) grabs aaab not aaabbb? Likewise here: &quo

Re: Cygwin's vanilla sed : capabilities and limitations

2003-07-22 Thread Peter S Tillier
function that's what I'd do. > > Brian The GNU sed maintainer Paolo Bonzini also maintains a version of sed called ssed (super sed) that does support PCREs in addition to BREs and EREs (which are both now supported in GNU sed 4.x+). For more on sed: http://sed.sourceforge.net/

Fw: New Emacs awk-mode

2003-06-21 Thread Peter S Tillier
ated letter > (like "aa"), remove half of them (leaving, say, "a"). This may interest some of you. Alan posted it in comp.lang.awk Peter S Tillier "Who needs perl when you can write dc, sokoban, arkanoid and an unlambda interpreter in sed?" -- Unsubscribe in

Re: Setup hangs between "create icons" and "postinstall" und

2003-06-12 Thread Peter S Tillier
results. > > Any ideas or other things I should check? I guess you have checked that your Windows ME has all the latest service packs and/or patches applied? Don't know if this will help, but it may be worth a shot. -- Peter S Tillier "Who needs perl when you can write dc, sokoba

Re: sed 4.0.5 regexp problem

2003-03-03 Thread Peter S Tillier
7; | sed -e 's/^T\W*\(\w*\)/FuncSymbol(\1),/ > > echo 'T _atan2' | sed -e 's/^T[[:space:]]*\([[:alnum:]_]*\)/FuncSymbol(\1),/ > > The first one used to work, now only the second one does. This is not good. > > David > I reported this to Paolo Bonzini (GNU sed

Re: problem report: gawk 3.1.1

2003-02-21 Thread Peter S Tillier
\r" | gawk '{print $0, NF}' 4b c $ is correct under UNIX/Linux. In this case the "\r" causes the OFS space and the digit 4 to overwrite the "a " of "a b c ". By using the sed command that you mention you are using it to remove the "\r"

Re: Sed Script works in 3.02-1, fails in 4.0.1-1

2003-01-17 Thread Peter S Tillier
- Original Message - From: "Dwight Neal" <[EMAIL PROTECTED]> To: "'Peter S Tillier'" <[EMAIL PROTECTED]> Sent: Wednesday, January 08, 2003 11:05 PM Subject: RE: Sed Script works in 3.02-1, fails in 4.0.1-1 > I included the WRONG sed script w

Re: FW: Sed Script works in 3.02-1, fails in 4.0.1-1

2003-01-12 Thread Peter S Tillier
ion completes, click here <\/a>to return.<\/font><\/BLOCKQUOTE> then you don't really need the "1," part of the address. If you only want to change the first occurrence then you would need to reorganize the script (or use another tool which makes it easier to

Re: Sed Script works in 3.02-1, fails in 4.0.1-1

2003-01-08 Thread Peter S Tillier
piled RE and there isn't one. This is an error in your script, not sed 4.0.1-1 and should also give the same error message with sed 3.02-1. As Randall says using / separators in s commands when slashes are part of the RE is tricky. You can use pretty much any separator other than a backslash.

Re: gawk : Input file remaining locked after program termination

2002-12-16 Thread Peter S Tillier
his will fail if any of the files have spaces in their names, because you are using $1 as the name of the file to pass to notepad. It would be more sensible to use $0 and to quote it when passing it to notepad, i.e.: system ("notepad \"" $0"\" &") Oh, and aw

BASH 2.05b.0(7)

2002-11-28 Thread Peter S Tillier
downloads and the User Guide without finding it. TIA Peter -- Peter S Tillier[EMAIL PROTECTED] [EMAIL PROTECTED] Opinions expressed are my own and not necessarily those of my employer. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug

Re: [ANNOUNCEMENT] Updated: sed-4.0.1-1

2002-11-06 Thread Peter S Tillier
setup.exe to your > system. Once you've downloaded setup.exe, run it and select "Base" and > then click on the appropriate field until the above announced version > number appears if it is not displayed already. > Thanks for this Corinna, I had just started hacking

Re: vs and use of diff

2002-10-20 Thread Peter S Tillier
S .com file, even though it is in the path. You need to include the extensions for .com or .bat files to get them to run under bash - .exe is OK. See the User Guide section on Special Names. [...] HTH Peter S Tillier[EMAIL PROTECTED] __

Re: gawk not taking redirected input under command.com

2002-10-07 Thread Peter S Tillier
aving CRLF problems. I'll > check to see if this is a cygwin problem or a gawk problem but I suspect > it is a gawk problem. > > cgf Chris, This bug was fixed in release gawk-3.1.1-3 Peter S Tillier[EMAIL PROTECTED] __

Re: gawk not taking redirected input under command.com

2002-10-05 Thread Peter S Tillier
x27;t get this problem if I run the GNUWin32 port of gawk-3.1.0-2 or the DJGPP version of gawk-3.1.1 at a Win95Cmd command line. So it looks like there's problem with the Cygwin port running under command.com or win95cmd somewhere. I suppose it isn't something to do with the cygwin dl