09-03-2008
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I am writing a BASH shell script. I would like to construct an IF statement that allows me to determine if a variable is between -180 and 180. Example:
if ; then
echo 'WEST NOT WITHIN BOUNDS'
fi
However, I believe the negative sign is causing errors. What is the proper BASH... (6 Replies)
Discussion started by: msb65
6 Replies
2. Shell Programming and Scripting
Howdy experts,
We have some ranges of number which belongs to particual group as below.
GroupNo StartRange EndRange
Group0125 935300 935399
Group2006 935400 935476
937430 937459
Group0324 935477 935549
... (6 Replies)
Discussion started by: thepurple
6 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I have a command that I need to supply a negative number as a parameter; how do I do this? I have tried giving it with double quotes, "", but no avail.
Thanks,
Gussi (3 Replies)
Discussion started by: Gussifinknottle
3 Replies
4. Shell Programming and Scripting
Hello,
For my weather station I have made a little perl script to put the data into cacti. The next problem I have.
I can only get positive numbers or negative numbers.
What do I do:
Though a shell scrip I call the perl script.
Shell script:
#!/bin/sh
cat data.txt | stats.pl
Perl... (4 Replies)
Discussion started by: rbl-blacklight
4 Replies
5. Shell Programming and Scripting
Let, I have three numbers
+00123.25
-00256.54
+00489.23
I need to sum up all those three numbers, after storing them in three variables (say var1, var2, var3).
I used both expr and BC, but they didn't work for me.
But, I am not able to sum up them, as I don't have any idea how to... (13 Replies)
Discussion started by: mady135
13 Replies
6. Shell Programming and Scripting
ValA=-29344
if ; then
echo "NEGATIVE"
else
echo "POSITIVE"
fi
Can someone please tell me how else they would go about doing the above?
When i do it, i get errors such as: (10 Replies)
Discussion started by: SkySmart
10 Replies
7. Shell Programming and Scripting
Dear All,
I have to split a tab delimited file in two files based on the presence of a positive or negative in column number 9 , for example
file:
A 1 5 erg + 6766 0.9889 0.9817 9.01882 erg inside upstream
B 1 8 erg2 + 6766 0.9889 0.9817 -9.22 erg2 inside... (3 Replies)
Discussion started by: paolo.kunder
3 Replies
8. UNIX for Dummies Questions & Answers
Greetings. I have a three column file, and there are some numbers in the second column that are <1. However I need all numbers to be positive, thus need to replace all those numbers with just one. I feel like there must be a simple way to use awk to find these numbers and sed to replace but can't... (5 Replies)
Discussion started by: Twinklefingers
5 Replies
9. UNIX for Dummies Questions & Answers
Dear Experts,
I have an IP file which looks like below ----
100 200 5.02
100 200 -2.99
100 200 -3.01
200 300 2.05
200 300 3.01
200 300 -5.06
I want an OP which looks like (decreasing numerically)--
100 200 5.02
100 200 -2.99
100 200 -3.01
200 300 3.01
200 300 2.05
200 300 -5.06 (2 Replies)
Discussion started by: Indra2011
2 Replies
10. UNIX for Beginners Questions & Answers
I have a file that is pipe delimited and in Column F they have number values, both positive and negative. I need to take the one file I am starting with and split it into two separate files based on negative and positive numbers. What is the command to do so? And then I need to also transfer... (4 Replies)
Discussion started by: cckaiser15
4 Replies
pyca(1) General Commands Manual pyca(1)
NAME
pyca - CA written in python
DESCRIPTION
The scripts in ths suite are basically wrappers around openssl(1). Additionally the scripts integrates the generic CA-functionality with
the mail-system and apache for handling certificate requests; with LDAP for handling distributing certificates and revocation lists; and
cron for maintenance tasks.
PROGRAMMES
ca2ldif.py
Write CA certificates and CRLs to a LDIF file. This is intended for initially setting up the CA entries not for daily CRL update.
The entries are of objectclass certificationAuthority and contain the attributes cACertificate;binary, authorityRevocation-
List;binary and certificateRevocationList;binary. This might require extending schemas on LDAPv2 servers. Have a look at your LDAP
servers configuration documentation.
certs2ldap.py
Send all certs and CRLs to a LDAP repository.
copy-cacerts.py
Copy all CA certificates defined in an OpenSSL configuration to a bundled PEM file or a directory with hash-named symbolic links.
This is quite handy in conjunction with ApacheSSL or Apache with mod_ssl for copying the files for SSLCACertificateFile or SSLCACer-
tificatePath.
ns-jsconfig.py
Create Javascript code containing all CA certificates defined in an OpenSSL configuration for use with the Netscape admin tool (cre-
ating netscape.cfg).
print-cacerts.py
This simple script prints all CA certs on stdout. It is intended to generate authentic printouts (on paper!) of the CA certs finger-
prints and is typically run on the private CA system. Choose the option --html to generate nicer formatted HTML-output instead of
the default textual output in ISO-8859-1.
ns-jsconfig.py
Create a Javascript file to be included in a Netscape configuration file (netscape.cfg).
SEE ALSO
pyca(8)
The programs are documented fully by the HTML documents in /usr/share/doc/pyca/htdocs/
COPYRIGHT
Copyright (C) 2001 - 2003 Michael Stroeder <michael@stroeder.com>
This software including all modules is Open Source and given away under: GPL (GNU GENERAL PUBLIC LICENSE) Version 2.
The author refuses to give any warranty of any kind.
AUTHOR
Michael Stroeder <michael@stroeder.com>
This manual page was written by Lars Bahner <bahner@debian.org>, for the Debian GNU/Linux system.
june 30, 2002 pyca(1)