Search Results

Search: Posts Made By: DerekAsirvadem
6,069
Posted By Perderabo
The shell expanded variables once during the...
The shell expanded variables once during the processing of the echo statement. It does not then loop to see if any new variable references were created.

If you want to expand a variable inside a...
3,264
Posted By Chubler_XL
How about this: #!/bin/sh sed -n \ ...
How about this:

#!/bin/sh
sed -n \
-e '/\-\-SELECT/ s/^.*\-\-//p' \
-e '/\-\-UPDATE/ s/^.*\-\-//p' \
-e '/\-\-DELETE/ s/^.*\-\-//p' \
-e '/#STMT#/...
3,264
Posted By Chubler_XL
Yep your spot on with your analysis. To...
Yep your spot on with your analysis.

To explain \([^]]*\) as you say the \( and \) are for grouping and store the matching string in \1 so we are just left with [^]]* which is: zero or more non...
8,138
Posted By era
Probably it does, but there are many...
Probably it does, but there are many implementations, so if it is undocumented, you will have to experiment, or look at the source.

rexec is insecure and should be replaced by ssh if at all...
8,138
Posted By s.mascheck
I like the method with cpp to find the macros in...
I like the method with cpp to find the macros in the headers.

There you also write:

Instead of ARG_MAX it's still NCARGS there, like in early unix variants.
However, SunOS 4 knows...
6,171
Posted By Scrutinizer
Hi, You cannot use a range pattern inside...
Hi,

You cannot use a range pattern inside another range pattern, but you could do something like this: /major_start/ { major_block=1 }
major_block ...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 01:47 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy