Search Results

Search: Posts Made By: kkc
5,077
Posted By kkc
Hi Karthikeyan, it doesn't replace this...
Hi Karthikeyan,

it doesn't replace this "${METRICA_DIR}/TechnologyPacks/Spool/2030324032" with my input result.... anything do i miss out??:confused:

thanks
kkc
5,077
Posted By kkc
tmpfile=/tmp/tmpfile.$$ for file in...
tmpfile=/tmp/tmpfile.$$

for file in loaderconfiguration*.xml
do
echo "what is the path:";
read $path;
sed "s|${METRICA_DIR}/TechnologyPacks/Spool/2030324032|$path|g" $file > $tmpfile
mv...
5,077
Posted By kkc
:D:Dthanks...
:D:Dthanks...
5,077
Posted By kkc
:eek::eek:confusing.... can more clearly? ...
:eek::eek:confusing.... can more clearly?

Thanks
5,077
Posted By kkc
hi :) thanks for the advise~, what is the...
hi

:) thanks for the advise~, what is the different withe replace the single codes in the sed command with double codes?:eek:

many thanks
5,077
Posted By kkc
sorry i can't get you mean, i wanted add on...
sorry i can't get you mean,
i wanted add on such like

print "what is your directory : ";
then the answer is storing to &inName

and the sed will replace the &inName to...
5,077
Posted By kkc
need solution for scripting
hi all,

i would like to add on the print command to prompt user to enter a value and store inside the variable name as $inName
after that the value will replace the existing line for...
7,357
Posted By kkc
sending mail error.. help
help i get this error when i sending a mail

send-mail: fatal: open /etc/postfix/main.cf: No such file or directory
Can't send mail: sendmail process failed

this is my coding

echo "$PRONAME...
1,355
Posted By kkc
i want to do a program for checking the process...
i want to do a program for checking the process whether is running or not. firstly i got one file call as process.csv, inside the content is look like below..
PROEXE PRONAME ...
1,355
Posted By kkc
simple help
hi everyone below is my shell script,:(
i need help from someone.

#!/bin/ksh
#show some useful info

date
echo Good morning $USER
cal

PROGLIST=`cat process.csv`

for PROG in $PROGLIST...
9,656
Posted By kkc
:osorry for my poor english:o according to...
:osorry for my poor english:o

according to your script

while read line
do

filed2= `cut -d, -f2`
echo $filed2
done < filename.csv

e.g
/users/sally/myprogram1;My Program 1;...
9,656
Posted By kkc
read and cut
hi i am KSH shell script newbie:o i would like to ask how to create a shell script to read the CSV file then follow by cut the file line number 2 and echo it this 2nd line... i need some coding...
Showing results 1 to 12 of 12

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