05-04-2010
what have you tried till now??
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Can anyone tell me the difference between the following
execution ways:
1) . ./filename
2) ./filename
Also when to use the either. (8 Replies)
Discussion started by: Shivdatta
8 Replies
2. Shell Programming and Scripting
Hi i've written a script which reads last two line of the log file from N number of servers and send the mail by redirecting to a particular log file.
And the two lines is displayed below.
Oracle Q03 Begin Hot BACKUP Time: 07/23/08 18:35:46
Oracle Q03 End Hot BACKUP Time: 07/24/08 14:18:15... (1 Reply)
Discussion started by: suri.tyson
1 Replies
3. Shell Programming and Scripting
Hey there,
I just stumbled upon a difference between using awk on the commandline and using it in a shellscript.
I have a variable, e.g.: PROG=vim
then i want to check if the package with this name is installed: TEMPVAL=$(dpkg -l | awk '{ if ($2 == "$PROG") print $2 }') (Im using... (10 Replies)
Discussion started by: MrSnail
10 Replies
4. Shell Programming and Scripting
Hey everyone,
I have two folders (folder1, folder2). Folder2 is a compiled version of a bunch of other folders including folder1. I want to compare folder1 to folder2 to make sure that folder2 contains all of the contents of folder1. If it does not, I would like the script to output... (5 Replies)
Discussion started by: chango77747
5 Replies
5. Programming
I think both write at the end of the file ......
but is there a sharp difference between those 2 instruction .....
thank you
this is my 3rd question today forgive me :D (1 Reply)
Discussion started by: fwrlfo
1 Replies
6. Shell Programming and Scripting
Hi Guys,
What is difference between this two lines in script
logger -p daemon.info -t postback Starting /opt/local/bin/backup-report
and
/opt/local/bin/backup-report
is the backu script running twice here?
Thanks, (2 Replies)
Discussion started by: manalisharmabe
2 Replies
7. Shell Programming and Scripting
Hi,
So I have a very simple script which loops over 5 times and prints the iterator value.
#!/bin/sh
START=1
END=5
for i in $(eval echo "{$START..$END}")
do
echo "$i"
done
If I save this script in a .sh file and run it in the terminal, the output I get is
{1..5} (4 Replies)
Discussion started by: jamie_123
4 Replies
8. Shell Programming and Scripting
Hi Team,
a silly question.
Let's say i have a script called xyz.ksh
what is the difference in executing the script as follows?
./xyz.ksh
ksh xyz.ksh
Thanks (2 Replies)
Discussion started by: kmanivan82
2 Replies
9. Shell Programming and Scripting
In the awk I am trying to subtract the difference $3-$2 of each matching $4 before the first _ (underscore) and print that value in $13.
I think the awk will do that, but added comments. What I am not sure off is how to add a line or lines that will add sum each matching $13 value and put it in... (2 Replies)
Discussion started by: cmccabe
2 Replies
LEARN ABOUT DEBIAN
shishi_kdcreq_till
shishi_kdcreq_till(3) shishi shishi_kdcreq_till(3)
NAME
shishi_kdcreq_till - API function
SYNOPSIS
#include <shishi.h>
int shishi_kdcreq_till(Shishi * handle, Shishi_asn1 kdcreq, char ** till, size_t * tilllen);
ARGUMENTS
Shishi * handle
Shishi library handle create by shishi_init().
Shishi_asn1 kdcreq
KDC-REQ variable to get client name from.
char ** till
pointer to newly allocated zero terminated string containing "till" field with generalized time. May be NULL (to only populate
realmlen).
size_t * tilllen
pointer to length of till on output, excluding terminating zero. May be NULL (to only populate tilllen).
DESCRIPTION
Get "till" field (i.e. "endtime") in KDC-REQ, as zero-terminated string. The string is typically 15 characters long. The string is allo-
cated by this function, and it is the responsibility of the caller to deallocate it. Note that the output length realmlen does not include
the terminating zero.
RETURN VALUE
Returns SHISHI_OK iff successful.
REPORTING BUGS
Report bugs to <bug-shishi@gnu.org>.
COPYRIGHT
Copyright (C) 2002-2010 Simon Josefsson.
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 shishi is maintained as a Texinfo manual. If the info and shishi programs are properly installed at your site,
the command
info shishi
should give you access to the complete manual.
shishi 1.0.1 shishi_kdcreq_till(3)