Search Results

Search: Posts Made By: harpreetanand
2,866
Posted By harpreetanand
Please try redirecting all the warnings to...
Please try redirecting all the warnings to infinite sink ...
i.e. "your command" followed by 2>/dev/null
1,827
Posted By harpreetanand
Pls describe the problem you are facing !!!
Pls describe the problem you are facing !!!
3,073
Posted By harpreetanand
recurrence for every sunday for Date::MAnip in perl
Hi,

I have a requirement to define all Saturdays/Sundays of every month in a year as holidays. I am making use of Date::Manip package available in perl.

I tried writing a recurrence as :
...
11,752
Posted By harpreetanand
please check your sed command is syntactically...
please check your sed command is syntactically incorrect.

sed s/oldword/newword/g

Please change the position of variable in ur command e.g :
sed "s#ENGINE#${name}#g" template> output
11,752
Posted By harpreetanand
can you try using this :: cat filename | sed...
can you try using this ::

cat filename | sed s-$var-XXX-g

Hope it will work
11,752
Posted By harpreetanand
You can make use of backslashes(\) to negate the...
You can make use of backslashes(\) to negate the meaning.
If you still have doubts,revert back with proper requirement ....
11,752
Posted By harpreetanand
Just remove the single quotes so that the...
Just remove the single quotes so that the interpolation will happen.

sed s/$name/newname/g file
12,622
Posted By harpreetanand
You can try using this with the previous command...
You can try using this with the previous command :

awk '$2 != $3' 123.log | sed -e s/S//g -e s/.LOG//g
Forum: Solaris 08-11-2007
15,301
Posted By harpreetanand
I got it , it is working me fine for today's date...
I got it , it is working me fine for today's date ... but conversion is not happening on Solaris box ...as I am able to do it on LINUX box ...
( date -d 20070718 +'%a') will return me the output as...
Forum: Solaris 08-11-2007
15,301
Posted By harpreetanand
I checked it disn't work out for me ... also I...
I checked it disn't work out for me ...
also I am not able to convert YYYYMMDD format to dd-mon-yyformat .
Forum: Solaris 08-11-2007
15,301
Posted By harpreetanand
How to check for Saturday or Sunday
Hi ,

I have a date parameter passed in YYYYMMDD format , how can I check whether it is Sat or Sun on Solaris box , as we can do the same easily on linux box by using date -d YYYYMMDD '+a' .

Any...
Showing results 1 to 11 of 11

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