Search Results

Search: Posts Made By: RudiC
1,613
Posted By RudiC
This is my personal feeling: It is well known...
This is my personal feeling: It is well known that any dedicated compiled program, be it C, C++, Pascal, or other, usually benefit from increased execution speed compared to e.g. scripts. But there...
1,613
Posted By RudiC
Untested: Instead of printf $0 in the first awk...
Untested: Instead of printf $0 in the first awk script, concatenate $0 to a working variable, like WRK = WRK " " $0, then assign WRK back to $0 for the further processing.

Untested, and a hint...
1,613
Posted By RudiC
As already proposed, if you describe what is...
As already proposed, if you describe what is needed someone could come up with some nifty trick e.g. regex. Pls be aware that if the substitution has taken place in the first loop, another 2079 loops...
1,613
Posted By RudiC
A few comments, although I'm afraid I didn't...
A few comments, although I'm afraid I didn't understand all the details of your code snippet nor interpret any of those correctly. Partly due to the unusual indenting that doesn't lend itself...
1,613
Posted By RudiC
Regexes enclosed in slashes /.../ are regex...
Regexes enclosed in slashes /.../ are regex constants, i.e. taken verbatim / literally. So a won't be replaced by its contents but matches "a".
Try to build the regex from partial string constants...
Showing results 1 to 5 of 5

 

Featured Tech Videos

All times are GMT -4. The time now is 07:05 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy