11-08-2017
What is a good alternative that functions the way I need it to?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ..
I have a dynamic script called from a programming language called Powerhouse (4GL).
The module, called QUIZ, allows the user to call shell commands from within it...
i.e.
!rm -f mipss156t2cmd1.bat mipss156t2tmp1.txt
!printf '#!/bin/csh\n' > mipss156t2cmd1.bat
!printf 'setenv... (0 Replies)
Discussion started by: ElCaito
0 Replies
2. Shell Programming and Scripting
Hi
I like to assign a command string to a variable to execute.
In this case,
set sshexec_parent_pid="ps -ef | grep $$ | awk '/bash -c/ {print $3}' | sort | head -1;`"
echo $sshexec_parent_pid ;
But I can't seem to get it to work.
It gives me
sshexec_parent_pid: Undefined variable.
... (2 Replies)
Discussion started by: mpc8250
2 Replies
3. UNIX for Dummies Questions & Answers
Hi All
How can i control for loop with two different variables in csh shell
Regards
Nikhil (1 Reply)
Discussion started by: Nikhilindurkar
1 Replies
4. Google Chrome OS
sdfdefgsrg (2 Replies)
Discussion started by: frankycool
2 Replies
5. Shell Programming and Scripting
I have done something like this
set phases = "a b"
set phases = "phases="$phases
echo $phases
I get
phases=a
instead of
phases=a b (3 Replies)
Discussion started by: kristinu
3 Replies
6. Shell Programming and Scripting
Anyone knows what is the max limit of number of environment variables in Csh? I have a script that when run causes the shell to stop responding to any command like:
ls
/bin/ls: Argument list too long.
And I guess the reason is I passed the max limit for number of environment variables... (1 Reply)
Discussion started by: mohy
1 Replies
7. Shell Programming and Scripting
Hi,
I am having a primary script which is Bash based. I am calling a csh script from it.
Now, their are some variables defined in my bash script which i need in csh.
I am unable to do so. Is it possible ? (2 Replies)
Discussion started by: vdhingra123
2 Replies
8. Shell Programming and Scripting
Hi Guys,
I have a a bash script and i am exporting a variable in it.
I am calling a csh script from this bash script.
The variable "ABC" will be visible in csh script.
ks.bash
export ABC = abc
./kp.csh
ab.csh
echo $ABC
setenv ABC =cde (i want to assign this value to ABC only if... (4 Replies)
Discussion started by: vdhingra123
4 Replies
9. Shell Programming and Scripting
I'm trying to make a dialog window that prints the output of grep that takes the output of find. Unfortunately my nested backticks don't work.
Here is the dialog window:
dialog --stdout --title "test" --backtitle "test" --msgbox "Test:\n `grep -l "${tablica}" `find $string``" 16 60I think I... (2 Replies)
Discussion started by: Starting_Leaf
2 Replies
10. Shell Programming and Scripting
Hello,
I have a text file (say, declarevars.txt) that contains multiple lines that are essentially meant to be variable declarations:
set arr1 = (var1a var1b var1c)
set arr2 = (var2a var2b var2c)
.
.
.
I want to be able to read this text file within a csh (sorry) script and have that... (2 Replies)
Discussion started by: arjaydj
2 Replies
LEARN ABOUT SUSE
gnutls_x509_crq_get_subject_alt_name
gnutls_x509_crq_get_subject_alt_name(3) gnutls gnutls_x509_crq_get_subject_alt_name(3)
NAME
gnutls_x509_crq_get_subject_alt_name - Get certificate's alternative name
SYNOPSIS
#include <gnutls/x509.h>
int gnutls_x509_crq_get_subject_alt_name(gnutls_x509_crq_t cert, unsigned int seq, void * ret, size_t * ret_size, unsigned int * ret_type,
unsigned int * critical);
ARGUMENTS
gnutls_x509_crq_t cert
should contain a gnutls_x509_crq_t structure
unsigned int seq
specifies the sequence number of the alt name, 0 for the first one, 1 for the second etc.
void * ret is the place where the alternative name will be copied to
size_t * ret_size
holds the size of ret.
unsigned int * ret_type
holds the gnutls_x509_subject_alt_name_t name type
unsigned int * critical
will be non zero if the extension is marked as critical (may be null)
DESCRIPTION
This function will return the alternative names, contained in the given certificate. It is the same as gnutls_x509_crq_get_sub-
ject_alt_name() except for the fact that it will return the type of the alternative name in ret_type even if the function fails for some
reason (i.e. the buffer provided is not enough).
RETURNS
the alternative subject name type on success, one of the enumerated gnutls_x509_subject_alt_name_t. It will return GNUTLS_E_SHORT_MEM-
ORY_BUFFER if ret_size is not large enough to hold the value. In that case ret_size will be updated with the required size. If the cer-
tificate request does not have an Alternative name with the specified sequence number then GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE is
returned.
SINCE
2.8.0
REPORTING BUGS
Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software:
http://www.gnu.org/gethelp/
COPYRIGHT
Copyright (C) 2008 Free Software Foundation.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
SEE ALSO
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site,
the command
info gnutls
should give you access to the complete manual.
gnutls 2.8.6 gnutls_x509_crq_get_subject_alt_name(3)