01-01-2013
Pls use textual representation of your file and code tags for your sample. What system (HW, OS) are you on?
Last edited by RudiC; 01-02-2013 at 04:54 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I have a requirement to display all the dates within the provided (through user input) date range.
For eg: If I enter 28012009 (as From date in the format 'DDMMYYYY') and 02022009(as To date in the format 'DDMMYYYY'), the output should be all dates occuring between the from and to... (11 Replies)
Discussion started by: sunpraveen
11 Replies
2. UNIX for Dummies Questions & Answers
i need help! can someone help me please?
i try to calculate date under unix (ksh)...AIX operating system.
I have to find the date 200 days from today's date.
then the script should loop 200 times and display on command line every day's date until the current date.
example:
todays date:... (1 Reply)
Discussion started by: pavan_test
1 Replies
3. Shell Programming and Scripting
i need help! can someone help me please?
i try to calculate date under unix (ksh)...AIX operating system.
I have to find the date 200 days from today's date.
then the script should loop 200 times and display on command line every day's date until the current date.
example:
todays date:... (4 Replies)
Discussion started by: pavan_test
4 Replies
4. Shell Programming and Scripting
Hi all,
In Oracle we have got sysdate -1 to find the previous date. Is there any similar way to display date in unix shell scripting?
Kindly help me to display the last five dates from the given date
Thanks,
Geetha (11 Replies)
Discussion started by: iamgeethuj
11 Replies
5. Shell Programming and Scripting
Need to pull from a range of dates/times (ex. 6:00 AM March 3 through 6:00 AM March 4) from a folder and put those file names in a new file to process later. Dates would not be hard dates but dates from the folder directory, how would I do that? (9 Replies)
Discussion started by: freddie999
9 Replies
6. Shell Programming and Scripting
Hi guys,
I have been trying to create a list of dates from a certain range, ie.
range from 01011950 to 31122000
But when my below code reaches certain dates, it comes up with a;
'date: invalid date 'yyyy-mm-dd -d 1day'
Sofar I have come up with the following, slow and ugly;
... (4 Replies)
Discussion started by: TAPE
4 Replies
7. Emergency UNIX and Linux Support
Hi,
I am sure this is simple, but I am breaking my head.
I need 1 page with at the top a range of dates, 2002, 2003, 2004 etc
If you select 2002 it will show the content of 1 div, if you select 2002 the content of another div.
this is for showing announcements on a site, right now there... (1 Reply)
Discussion started by: lawstudent
1 Replies
8. Shell Programming and Scripting
---------- Post updated at 03:42 AM ---------- Previous update was at 03:38 AM ----------
Sorry for a duplicate post, my post at the first place could not appear due to some net issue on my machine. Here is what i posted earlier:
Hi, i am using ksh in Solaris, i wanted to assign today's,... (5 Replies)
Discussion started by: pr5439
5 Replies
9. Shell Programming and Scripting
My script reads all the log files in a directory, the user would enter a range and the script would only display the files within those range. Here's my code:
#!/bin/bash
LOG_FILES=("Sandbox/logs/*")
for file in ${LOG_FILES}; do echo $file; done
-------------
for i in $(seq $1 $2); do... (1 Reply)
Discussion started by: Loc
1 Replies
10. Shell Programming and Scripting
Hi All,
I have 2 dates in mm/dd format.
sdate=10/01 (October 01)
edate=10/10 (October 10)
I need the dates in between these 2 dates like below.
10/01
10/02
10/03
10/04
10/05
10/06
10/07
10/08 (1 Reply)
Discussion started by: jayadanabalan
1 Replies
LEARN ABOUT HPUX
gss_display_status
gss_display_status(3) Library Functions Manual gss_display_status(3)
NAME
gss_display_status() - provide an application with the textual representation of a GSSAPI status code that can be displayed to a user or
used for logging
SYNOPSIS
DESCRIPTION
The routine provides the context initiator with a textual representation of a status code so that the application can display the message
to a user or log the message. Because some status values can indicate more than one error, the routine enables the calling application to
process status codes with multiple messages.
The message_context parameter indicates which error message the application should extract from the status_value parameter. The first time
an application calls the routine, it should initialize the message_context parameter to 0 (zero) and return the first message. If there
are additional messages to read, the routine returns a nonzero value. The application can call repeatedly to generate a single text string
for each call.
Input Parameters
status_value Specifies the status value to convert.
status_type Specifies one of the following status types:
Major status - GSS status code
Minor status - mechanism status code eg. Kerberos
mech_type Specifies the underlying security mechanism. Supply to obtain the system default.
Input/Output
message_context Indicates whether the status code has multiple messages to read. The first time an application calls the routine,
you initialize the parameter to 0 (zero). The routine returns the first message. If there are more messages, the
routine sets the parameter to a nonzero value. The application calls the routine repeatedly to get the next message,
until the message_context parameter is zero again.
Output
status_string Returns the status value as a text message.
minor_status Returns a status code from the security mechanism.
STATUS CODES
The following status codes can be returned:
The routine was completed successfully.
The translation requires a mechanism that is unsupported
or unavailable.
Indicates either the status value was not recognized or
the status type was something other than or
The routine failed. Check the
minor_status for details.
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO
The manpages for DCE-GSSAPI are included with the DCE-CoreTools product. To see those manpages add to
gss_display_status(3)