Search Results

Search: Posts Made By: zozoo
1,027
Posted By zozoo
Thank you :) it worked ,my Bad :o
Thank you :) it worked ,my Bad :o
1,027
Posted By zozoo
awk on csv files
wk on csv files
Hi I have two csv files
1 ) keys.csv with data as below

XX1,offsite
XX2,offsite
XX8,none
XX3,offsite
XX4,onsite
XX7,none
XX5,onsite
XX6,onsite
XX15,none

2)...
1,930
Posted By zozoo
That solved i was trying to another version just...
That solved i was trying to another version just now to match the http string and then split by space into array to retrun the value , but your solution solved it

so in the solution you are...
1,930
Posted By zozoo
hi Ravinder i am sorry for the wrong output...
hi Ravinder i am sorry for the wrong output corrected now
so basically i want to check if the sixth column is having any url then replace the field with url else leave it what ever value it is...
1,930
Posted By zozoo
Get extract and replace column with link in a column where it exists
hi i have sample data



a,b,c,d,e,g h http://mysite.xyx
z,b,d,f,e,s t http://123124#
a,b,c,i,m,nothing
d,i,j,e,w,nothing
output expected is

a,b,c,d,e,http://mysite.xyx...
1,362
Posted By zozoo
try using the below sample script $ cat...
try using the below sample script

$ cat outtohtml.sh
file=$1
`awk -F , ' BEGIN { print "<table border=1>"} \
NR == 1 { print "<th>";for(i=1;i<=NF;i++)print "<td><FONT COLOR=BLUE...
2,429
Posted By zozoo
awk '/'<td>[[Cisco]]</td>'/{print;print "TYPE ...
awk '/'<td>[[Cisco]]</td>'/{print;print "TYPE = Router";next}1' then try removing 'TYPE = Router' pttern
922
Posted By zozoo
is this wat you are try to do for i in...
is this wat you are try to do



for i in *.sh
do
path=`grep $i <pathtofilecontaingthepaths>`
cp $i $path
done
1,284
Posted By zozoo
have tried below $ cat sample xxx,1,100 ...
have tried below

$ cat sample
xxx,1,100
yyy,2,,200
zzz,1,3000
eeee,1,200
ttttt,2,500
zzz,2,123
xyxy,3,1000
$ awk -F, '{if (a[$2]< $3)a[$2]=$3;}END{for(i in a){print i,a[i];}}' sample
1...
1,284
Posted By zozoo
Group by in UNIX
Hi team i have input file

name,dep,sal
xxx,1,100
yyy,2,,200
zzz,1,3000
eeee,1,200
ttttt,2,500
zzz,2,123
xyxy,3,1000


and output i require as below i.e highest value from colum3...
2,696
Posted By zozoo
can you try using single quotes around the queue...
can you try using single quotes around the queue creation command
1,153
Posted By zozoo
try looking out for below commands on how to send...
try looking out for below commands on how to send out mails from unix box please go thorugh man pages for various options with each

mail
mailx
sendmail


check $MAIL variable its the file ...
30,111
Posted By zozoo
try the below uuencode path/'ABC Data...
try the below


uuencode path/'ABC Data Extract.txt' "ABC Data Extract.txt" |mailx -s "subject" xyz@abc.com
1,033
Posted By zozoo
if you only want date and time you can try some...
if you only want date and time you can try some thing like this if the above data is file called filename



awk -F: '{print $6":"$7}' filename
1,138
Posted By zozoo
u can do it this way cat file1.txt|while...
u can do it this way

cat file1.txt|while read a
do
grep -v ^$i file2.txt > out.txt
done
34,834
Posted By zozoo
you can try some thing like this cat new ...
you can try some thing like this
cat new
SERVER DB TABLE FREE SPACE
111.11.11.11 xyz ABCD 1000 YES
111.11.11.11 xyz ABCD 1000 YES
111.11.11.11 xyz ABCD 1000 YES
111.11.11.11 xyz ABCD 1000 YES
...
1,582
Posted By zozoo
try giving proper spaces after if statement
try giving proper spaces after if statement
Forum: AIX 12-26-2013
4,722
Posted By zozoo
try giving the 2>&1 to capture the error and...
try giving the
2>&1 to capture the error and also ...can you try to enclose the whole command with in ()---------- Post updated at 07:42 PM ---------- Previous update was at 07:27 PM ----------
...
1,331
Posted By zozoo
try below #!/bin/sh ...
try below


#!/bin/sh
EMAIL="anil.kumar@abc.com"
EMAILMESSAGE="/app/to/path/result.txt"
SUBJECT=" testmail"
echo "Hi," >> $EMAILMESSAGE

echo "PFB the Details:" >> $EMAILMESSAGE

sqlplus...
Forum: AIX 12-26-2013
4,722
Posted By zozoo
try redirecting the cron entry to a log and see...
try redirecting the cron entry to a log and see if any error is being captured .
1,013
Posted By zozoo
if password less ssh is possible then ssh -q...
if password less ssh is possible then

ssh -q user@server " pathtoscript/scriptname "
2,066
Posted By zozoo
could be problem with your mail box try or...
could be problem with your mail box try or outlook it some times happens with web based mailboxes


can you try sending some test file as attachment to you mail id and see if its proper if its...
2,026
Posted By zozoo
can you explain what that means it can be helpful...
can you explain what that means it can be helpful

---------- Post updated at 05:38 PM ---------- Previous update was at 05:37 PM ----------




can explain the working of the code it would be...
16,613
Posted By zozoo
hi it looks like there is some problem with ...
hi it looks like there is some problem with

/test-script/sendmail.sh script can u run entire script in debug mode
2,066
Posted By zozoo
instead of $prmDirOutput varaiable try using...
instead of $prmDirOutput varaiable try using absolute path or include $prmDirOutput in quotes (" ")
Showing results 1 to 25 of 108

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