Unable to update the string in a file trough case command
Hi All,
my requirement is first search the line and updated stg value with the user input value.
stg is not fixed string it may varies.So i used the below command for it
when i use the below command through command line it's working fine.But when use in code it's not working.
My code:
file is too large so mentioned only the line of the file need to be updated
---------
Please let me know if you need some moredetails about my requirement.I am using AIX.
Hi,
I am trying to attach a .log file or .txt file to mail command to send an email once my ksh script executed. I am unable to use mutt command as it has been not installed and i am not supposed to install it. I have tried many ways by googling which has not helped me to succeed.
Here is my... (5 Replies)
Hi,
I want to do caseless string comparision using test command
for eg: Ind_f="y"
test "$Ind_f" == "y|Y"
i tried , ** , nothing worked.
any thoughts on how to do case insensitive string comparison using test command without converting to any particular case using typeset or tr? (8 Replies)
I just installed the latest version of ubuntu and I can't run the update manager without getting an error message. Im not sure what info i need to post so i can get help so just tell me if i need to post info because i would like to use ubuntu. (2 Replies)
Hi All,
Need to convert file names to upper case using tr command in Unix.
In a folder -> /apps/dd01/misc
there are two files like:
pi-abcd.pdf
pi-efgh.pdf
The output of should be like:
pi-ABCD.pdf
pi-EFGH.pdf
I have used the command to work for a single file at a time... (3 Replies)
please explain this update to the webcache.xml file ( attached)
sorry i come from a windows env
thank you
*************
echo -n "7. Updating webcache.xml file..."
set line_num = `grep -n "</CACHEABILITY>" $ORACLE_HOME/webcache/webcache.xml | tail -1 | cut -d : -f 1`
head -`expr $line_num... (0 Replies)
Hi Everyone,
Each time I do update the crontab, it gets reset after exiting from the telnet session. I'm using Solaris 2.8
So it goes like this:
Step 1: Login as root, from a telnet session
Step 2: Crontab -e (I make modification)
Step 3: Save and exit
Step 4: Type crontab -l , changes... (4 Replies)