04-05-2009
translate to normal english
lnode * head = temp;
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello: Can anyone please decode this script in English. I have also made some comments which I know.. The actual script does not have one comment also..
#! /bin/ksh
. odbmsprd_env.ksh #setting the env..
echo $0 Started at : `date '+%d-%m-%Y %H:%M:%S'`
# what's echo $0
... (4 Replies)
Discussion started by: ST2000
4 Replies
2. SCO
Hello,
i'm not skilled on unix, i'd like gzip/gunzip software and, ESPECIALLY, the detailed instructions for installation....please help me......i'm like a baby in unix world!!!!!
hello, thanks a lot!
mike (3 Replies)
Discussion started by: mfran2002
3 Replies
3. UNIX for Advanced & Expert Users
Hello,
How do i translate datevalues in unix to normal dates.
and how do i translate normal dates in to datevalues.
I'm using the unix-date.
Sample:
1067949360 to 4-11-03 12:36
and
4-11-03 12:36 to 1067949360
I want to built a script with a question to the user: give in date... (4 Replies)
Discussion started by: Frederik
4 Replies
4. Ubuntu
On Ubuntu 7.04, why would the "C" LANG parameter not be English:
$ LANG=C locale
LANG=C
LANGUAGE=he_IL:he:en_GB:en
LC_CTYPE="he_IL.utf8"
LC_NUMERIC="he_IL.utf8"
LC_TIME="he_IL.utf8"
LC_COLLATE="he_IL.utf8"
LC_MONETARY="he_IL.utf8"
LC_MESSAGES="he_IL.utf8"
LC_PAPER="he_IL.utf8"... (4 Replies)
Discussion started by: dotancohen
4 Replies
5. Red Hat
Hi,
I am developing a program that would ask the user to set the locale.
For that, I need to display them to user in plain english.
like
English(US)
English (Uk)
depending on the user selection I need to set the locale.
Is there a command in redhat linux that would... (1 Reply)
Discussion started by: eamani_sun
1 Replies
6. Shell Programming and Scripting
Hi,
I wrote a script to convert a given word from English to French.
But I am not able to figure out what I am missing here.
I am not able to get the translated word
Below is my script:
French=/root/dict/entofr.txt
for i in $*
do
word="echo $word $i"
done
while:
do
cat <<... (1 Reply)
Discussion started by: pinky7630
1 Replies
7. Shell Programming and Scripting
Hi guys,
I'm trying to create a DataStage job and I'm basing it off an existing similar project.
The 'Input' value of the job is:
(where "/DATA/CSV_FILES" is where all the files were located)
My understanding is that for each CSV, it added the 'filename' as Column A. And then it... (5 Replies)
Discussion started by: thedunnyman
5 Replies
8. Shell Programming and Scripting
Hi gurus,
I have a weird requirement. I need to convert the number to english lecture.
I have 1.2 ....19 numbers
I need to convert to first second third fourth, fifth, sixth...
Is there any way convert it using unix command?
thanks in advance. (8 Replies)
Discussion started by: ken6503
8 Replies
LEARN ABOUT SUNOS
di_link_next_by_lnode
di_link_next_by_node(3DEVINFO) Device Information Library Functions di_link_next_by_node(3DEVINFO)
NAME
di_link_next_by_node, di_link_next_by_lnode - libdevinfo link traversal functions
SYNOPSIS
cc [ flag... ] file... -ldevinfo [ library... ]
#include <libdevinfo.h>
di_link_t di_link_next_by_node(di_lnode_t node, di_link_t link, uint_t endpoint);
di_link_t di_link_next_by_lnode(di_node_t lnode, di_link_t link, uint_t endpoint);
PARAMETERS
link The handle to the current the link or DI_LINK_NIL.
endpoint Specify which endpoint of the link the node or lnode should correspond to, either DI_LINK_TGT or DI_LINK_SRC.
node The device node with which the link is associated.
lnode The lnode with which the link is associated.
DESCRIPTION
The di_link_next_by_node() function returns a handle to the next link that has the same endpoint node as link. If link is DI_LINK_NIL, a
handle is returned to the first link whose endpoint specified by endpoint matches the node specified by node.
The di_link_next_by_lnode() function returns a handle to the next link that has the same endpoint lnode as link. If link is DI_LINK_NIL, a
handle is returned to the first link whose endpoint specified by endpoint matches the lnode specified by lnode.
RETURN VALUES
Upon successful completion, a handle to the next link is returned. Otherwise, DI_LINK_NIL is returned and errno is set to indicate the
error.
ERRORS
The di_link_next_by_node() and di_link_next_by_lnode() functions will fail if:
EINVAL An argument is invalid.
ENXIO The end of the link list has been reached.
The di_link_next_by_node() function will fail if:
ENOTSUP Device usage information is not available in snapshot.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
di_init(3DEVINFO), libdevinfo(3LIB), attributes(5)
SunOS 5.10 12 Jul 2004 di_link_next_by_node(3DEVINFO)