I have a shell script where I do a simple query and I'm trying to spooling. But not works, the spool file is not generated. If I do inside oracle session I don't have any problem. I thing is a problem in my code but I can't see anything.
connection_script.sh
bitmap = holder.profile_image.getDrawingCache();
Bitmap MutableBitmap = bitmap.copy(Bitmap.Config.ARGB_8888,true);
holder.profile_image.setDrawingCacheEnabled(false);
Canvas canvas = new Canvas(MutableBitmap);
Paint paint = new Paint();
RectF rectF = new RectF(0,0,90,100);
paint.setAntiAlias(true);
canvas.drawRoundRect(rectF,5,5,paint);
//This sets the ImageView
holder.profile_image.setImageBitmap(MutableBitmap);
and script with spool:
#!/usr/bin/ksh
query="$1"
sqlplus -s /nolog <<EOF | egrep -v Conectado
connect ${USER_QUERY}/${PASS_QUERY}@${CONNECTION}
${query}
EOF
Could you help me please?
答案 0 :(得分:0)
问题在于引号“。我必须空格引用,而且永远都可以。谢谢