Search Results

Search: Posts Made By: dirtyd0ggy
9,459
Posted By complex.invoke
script_to_run: for n in $(find /data1 -name...
script_to_run:

for n in $(find /data1 -name 'ini*.ext'); do
echo cp $n "${n}.ext"
done

Invoking the script:

ssh user@machineB "bash -s" < script_to_run
5,780
Posted By Skrynesaver
As I mentioned above that's the syntax for a non...
As I mentioned above that's the syntax for a non capturing block, (?:$pattern)$modifier allows you to group a pattern so that you apply a modifier to the pattern as a whole rather than the last...
5,780
Posted By Skrynesaver
/name>q<\/name><value>< # literal string (?:...
/name>q<\/name><value>< # literal string
(?: #non capturing parenthesis
!\[CDATA\[)? This block is optional (allows for cases where the data isn't CDATA escaped)
( #begin capture
[^\]]+ # more...
5,780
Posted By Skrynesaver
perl -e ' while(<>){print "$1\n" if...
perl -e ' while(<>){print "$1\n" if (/name>q<\/name><value><(?:!\[CDATA\[)?([^\]]+)\]\]><\/value/);}' test.txt
Showing results 1 to 4 of 4

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