Search Results

Search: Posts Made By: dirtyd0ggy
9,376
Posted By dirtyd0ggy
Thank you, that worked perfectly
Thank you, that worked perfectly
9,376
Posted By dirtyd0ggy
Executing local script/command on remote server
I have a command that I want to run on machine B from machine A. If I run the command on machine B locally, it works fine.

Here is the command:

for n in `find /data1/ -name 'ini*.ext'` ;...
1,660
Posted By dirtyd0ggy
ret=$(grep \$prmpwd <file name>) You need to...
ret=$(grep \$prmpwd <file name>)

You need to escape $
5,660
Posted By dirtyd0ggy
Thanks for taking time out and explaining things....
Thanks for taking time out and explaining things. $1 is not (?:!\[CDATA\[) even though it is in parenthesis because it is followed by "?"

Or in other words, what is the reason $1 is not set to...
5,660
Posted By dirtyd0ggy
Hi Just trying to understand your solution,...
Hi

Just trying to understand your solution, some questions:

1)why did you use "?:" before !\[CDATA

2) What is the reason for putting "(?:!\[CDATA\[)" in parentheses i.e. "(" and ")"

3)...
5,660
Posted By dirtyd0ggy
You Sir, are awesome. 1000 internets to you.
You Sir, are awesome. 1000 internets to you.
5,660
Posted By dirtyd0ggy
Removing characters from end of line (length unknown)
Hi

I have a file which contains wrong XML, There are some garbage characters at the end of line that I want to get rid of. Example:

<request type="product"...
Showing results 1 to 7 of 7

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