08-21-2008
Really not following here can i know what does mean of $3 here? can you give another trick if u know?
Thanks
10 More Discussions You Might Find Interesting
1. HP-UX
I want to get my telnetd to run on startup and was wondering where it was? im used to having it in /etc/init.d/rc.d but it is not the same in hp-ux :(
thanks all (4 Replies)
Discussion started by: emplate
4 Replies
2. UNIX for Dummies Questions & Answers
Hi Experts,
Im a new bee for scripting,
I would ned to do the following via linux shell scripting, I have an application which throws a log file, on each action of a particular work with the application, as sson as the action is done, the log file would vanish or stops updating there, the... (2 Replies)
Discussion started by: pingnagan
2 Replies
3. Shell Programming and Scripting
Input:
length align type 5453 8666 +
length align portion 5453 8666 +
length align range 5453 5616 +
length align name 5453 6121 +
length align age 5617 6121 +
length align name 7214 7404 +
length ... (11 Replies)
Discussion started by: patrick87
11 Replies
4. Shell Programming and Scripting
Hi ,
I have one xml file contains more than 60 lines. I need to extract some details from the file and store it in new file.Not the whole file
Please find the xml file below:
<?xml version="1.0" encoding="UTF-8"?>
<DeploymentDescriptors xmlns="http://www.tibco.com/xmlns/dd">
... (6 Replies)
Discussion started by: ckchelladurai
6 Replies
5. UNIX for Dummies Questions & Answers
I have scheduled couple of shell scripts to run using 'at' command.
The o/p of at -l is:
$ at -l
1320904800.a Thu Nov 10 01:00:00 2011
1320894000.a Wed Nov 9 22:00:00 2011
1320876000.a Wed Nov 9 17:00:00 2011
$ uname -a
SunOS dc2prcrptetl2 5.9 Generic_122300-54 sun4u sparc... (2 Replies)
Discussion started by: superparticle
2 Replies
6. Shell Programming and Scripting
Hi,
I am trying to write a script with goes through thousands of XML documents to pull out the values for a particular tag to a .txt file.
For example I have
file1.xml
file2.xml
file3.xml
.
.
.
fileN.xml
All these files have a tag called <systemID>.
The value that sits within... (6 Replies)
Discussion started by: Chor419
6 Replies
7. Shell Programming and Scripting
I'm new to this and I have done a lot of research and am 99% done with my ksh script BUT I need help with. The script looks at Journal files and reports back on any that have not been updated for 15 min. Everything works but I wanted more detail (added -ls) and now I'm getting dups.
Original code:... (2 Replies)
Discussion started by: blackopz
2 Replies
8. Emergency UNIX and Linux Support
Hi,
I need the details of which ids belong to the sudoers file, and which groups these ids belong to.
Can anyone suggest a way to derive that information into a flat file please?
G (4 Replies)
Discussion started by: ggayathri
4 Replies
9. Shell Programming and Scripting
Hi
I have two text files. The first file is TEXTFILEONE.txt as given below:
<Text Text_ID="10155645315851111_10155645333076543" From="460350337461111" Created="2011-03-16T17:05:37+0000" use_count="123">This is the first text</Text>
<Text Text_ID="10155645315851111_10155645317023456"... (7 Replies)
Discussion started by: my_Perl
7 Replies
10. Shell Programming and Scripting
I am very new to shell scripting.
I have a autosys jil file that looks like :--
/* ------------- JOB1 ------------------ */
insert_job: JOB1 job_type: b
owner: cm@pelonmuck
permission: gx,ge,wx,we,mx,me
date_conditions: 1
days_of_week: mo,tu,we,th,fr,su
start_time: "18:30"... (9 Replies)
Discussion started by: newbie_shell
9 Replies
uuid(n) uuid uuid(n)
__________________________________________________________________________________________________________________________________________________
NAME
uuid - UUID generation and comparison
SYNOPSIS
package require Tcl 8.2
package require uuid ?1.0.1?
::uuid::uuid generate
::uuid::uuid equal id1 id2
_________________________________________________________________
DESCRIPTION
This package provides a generator of universally unique identifiers (UUID) also known as globally unique identifiers (GUID). This implemen-
tation follows the draft specification from (1) although this is actually an expired draft document.
COMMANDS
::uuid::uuid generate
Creates a type 4 uuid by MD5 hashing a number of bits of variant data including the time and hostname. Returns the string represen-
tation of the new uuid.
::uuid::uuid equal id1 id2
Compares two uuids and returns true if both arguments are the same uuid.
EXAMPLES
% uuid::uuid generate
b12dc22c-5c36-41d2-57da-e29d0ef5839c
REFERENCES
[1] Paul J. Leach, "UUIDs and GUIDs", February 1998. (http://www.opengroup.org/dce/info/draft-leach-uuids-guids-01.txt)
BUGS, IDEAS, FEEDBACK
This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category uuid of
the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for
either package and/or documentation.
KEYWORDS
GUID, UUID
CATEGORY
Hashes, checksums, and encryption
COPYRIGHT
Copyright (c) 2004, Pat Thoyts <patthoyts@users.sourceforge.net>
uuid 1.0.1 uuid(n)