I have problem with params...I have created a script, which needs a path to PDF file as parameter.
for instance:
the problem is, when the PDF's name is not just myPDF.pdf but my pdf.pdf...I want to say, that the name of the PDF is separated by spaces, and my script takes it as more params not just one... $1 is my and $2 is PDF.pdf
How can I solve this problem when the name of the PDF or when the PATH part contains spaces, my script will take it as one parameter.
thanks for reply.
//Edit: I find the mistake! the problem is not in params, but in the tool which I use..
please tell me the list of kernel parameters in solaris10. Because we've a requirement in one project.
Also tell me the importance of eah kernel parameter if possible.
Thanks in Advance.:):cool: (2 Replies)
please tell me the list of kernel parameters in RHEL 5.7
Because we've a requirement in one project.
Also tell me the importance of eah kernel parameter if possible.
==Thanks in Advance==:):D (1 Reply)
I have
written some C++ code with documentation code for dOxygen as below. However the parameters are not showing up.
/// \file
///
///
#ifndef __VECT2_HH__
#define __VECT2_HH__
#include <iostream>
#include <assert.h>
#include <cmath>
#include "common.hh"
... (0 Replies)
hi,
This is actually realted to a Abinitio command in a unix script. my code is
#!/bin/ksh
GRAPH_NAME=$1
shift
air sandbox run $GRAPH_NAME $* > file.lst 2>&1
if ]; then echo "Pass"
fi
when i run this script with this command "script.ksh graph_name parameters"
the script... (1 Reply)
Hi
I wrote a script which lists the content of a given directory.
I have just one problem. If you give 2 or more parameters, then it gives a strange error. After that error, it gives also an error from my script, but normally it shouldn't give that error.
Here's my script.You can test it.
... (3 Replies)
Hi,
I am facing a weird problem with input parameters. Please find more details about my problem below:
a) I am executing a korn shellscript with 11 input parameters from "Appworx" tool (it's a scheduling tool) and immediately displaying those 11 parameter values in unixscript and noticed... (4 Replies)
Hello, this is my first post, and.... obviusly, i have a problem, i have this script:
#!/bin/sh
. /tmp/variables
...
...
DESTINATION=`hostname`_DESTINATION
...
and the /tmp/variables has:
#!/bin/sh
aix53_DESTINATION="/temporal/`hostname`.mksysb.`date +\%d\%m\%y`"
**
The problem is... (2 Replies)
hi
im passing 4 parameters to a file....like
/userr/script/go.sql $1 $2 $3 $4
and i get them in the other script and make and insert into the tabke
insert into xy values('&1','&2','&3','&4');
what is the problem is tht when any one paramter has a space in them like
"airtel... (2 Replies)