Dear All,
I got a table creation file in a standard format. I need to accept parameters from the user & then based on the input change the data in the file. For. eg. i will accept the database name, dbspace name & user name from the user and accordingly change the same in the table creation... (2 Replies)
I have a script which take 3 input parameters
1st - a date (i.e. current date)
2nd - type (i.e. A)
3rd - limit (i.e. 40)
normally the date parameter would be current date, so I thought I could do this
calculate.sh $(date +%Y-%m-%d) A 40
however, it seems like it can't be done,... (3 Replies)
Hi i am a newbie who is trying to input parameters into this script, but not sure where to start.
The parameters that need to be input are the baseline label "abc.0111.BL " mantioned bellow, and database string "abc/abcp@db2 @counter.sql "
Environment: Windows XP
Running script: Cygwin 3.2
... (2 Replies)
Hi All,
I have tried to use ckdate (sun) command in script. It checks the input parameter which should be in 'YYYYMMDD format.
date=$( echo $1 | ckdate -f "%Y%m%d") | true
if ]
then
print " success"
else
print "no success"
fi
But in whatever format i pass the parameter,... (3 Replies)
I have to write a script to verify input parameters;
say esr should be YES or NO other wise the script should print an error.
This is what i tried in my script but I get the following error
:
esr="YES"
if ; then
print " Error should specify esr options YES/NO"
else
esr =$esr
fi
... (2 Replies)
i have this basic code that accepts for two input one for the source file and the other is for the target directory. basically it is a simple copy command. the problem is at the end of the execution the second parameter string was passed to first parameter and it displays a message like:
cp:... (3 Replies)
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,
Is there a simple way to take input of parameters after the first one? As following example, if I assign others=$2, it only takes the second one, if I assign others=$@, it will include the first one. I may try to assign others="$2 $3 $4 $5 $6 $7 $8 $9", it looks very ugly and could missing... (1 Reply)
friends
and I can validate whether to run the shell has input parameters m event date, I occasionally happen something like this does not work
if $ 1 is null then
echo has entered input parameters
else
echo "parameter ok"
fi (2 Replies)
Discussion started by: tricampeon81
2 Replies
LEARN ABOUT MINIX
pkeyparam
PKEYPARAM(1SSL) OpenSSL PKEYPARAM(1SSL)NAME
openssl-pkeyparam, pkeyparam - public key algorithm parameter processing tool
SYNOPSIS
openssl pkeyparam [-help] [-in filename] [-out filename] [-text] [-noout] [-engine id] [-check]
DESCRIPTION
The pkeyparam command processes public key algorithm parameters. They can be checked for correctness and their components printed out.
OPTIONS -help
Print out a usage message.
-in filename
This specifies the input filename to read parameters from or standard input if this option is not specified.
-out filename
This specifies the output filename to write parameters to or standard output if this option is not specified.
-text
Prints out the parameters in plain text in addition to the encoded version.
-noout
Do not output the encoded version of the parameters.
-engine id
Specifying an engine (by its unique id string) will cause pkeyparam to attempt to obtain a functional reference to the specified
engine, thus initialising it if needed. The engine will then be set as the default for all available algorithms.
-check
This option checks the correctness of parameters.
EXAMPLE
Print out text version of parameters:
openssl pkeyparam -in param.pem -text
NOTES
There are no -inform or -outform options for this command because only PEM format is supported because the key type is determined by the
PEM headers.
SEE ALSO genpkey(1), rsa(1), pkcs8(1), dsa(1), genrsa(1), gendsa(1)COPYRIGHT
Copyright 2006-2018 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a
copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
1.1.1a 2018-12-18 PKEYPARAM(1SSL)