Sponsored Content
Full Discussion: Help with documentation
Top Forums Shell Programming and Scripting Help with documentation Post 302518460 by kristinu on Friday 29th of April 2011 05:15:41 PM
Old 04-29-2011
Help with documentation

I have a list of file names

Code:
Set Lst = "n02-z30-3x2drw-run1.log n02-z30-3x2drw-run2.log n02-z30-3x2drw-run3.log n02-z50-3x2drw-run1.log n02-z50-3x2drw-run2.log"

So basically I have the files below

Code:
n02-z30-3x2drw-run1.log
n02-z30-3x2drw-run2.log
n02-z30-3x2drw-run3.log

Code:
n02-z50-3x2drw-run1.log
n02-z50-3x2drw-run2.log

Each file represents the log file produced by a program called tdarwin. It may happen that one stops the program or the program exits. You can continue running the program from where you had left off and the log file will have appended run1, run2 etc.

Thus

Code:
n02-z30-3x2drw-run1.log
n02-z30-3x2drw-run2.log
n02-z30-3x2drw-run3.log

means that the program was run 3 times using the same data and continued three times.

I actually can get the information from all three runs and generate one file with all the relevant information. So basically I get the description of the test as "n02-z30-3x2drw".

So in this case, I have actually run two test cases

Code:
n02-z30-3x2drw

and 

n02-z50-3x2drw

I want to describe that from the list

Code:
Lst = 
n02-z30-3x2drw-run1.log
n02-z30-3x2drw-run2.log
n02-z30-3x2drw-run3.log
n02-z50-3x2drw-run1.log
 n02-z50-3x2drw-run2.log

I get

Code:
Progs = 
n02-z30-3x2drw
 n02-z50-3x2drw

 

8 More Discussions You Might Find Interesting

1. Programming

AIX 3.2.5 Documentation

I'm looking for books or online documentation for writing device drivers for AIX 3.2.5. I've searched IBM's website and google and come up with next to nothing. There is plenty of information for 4.1 and above but virtually nothing for 3.2.5. I'm specifically interested in porting one of the... (2 Replies)
Discussion started by: cejoe
2 Replies

2. UNIX for Advanced & Expert Users

df command documentation

how can i find a comprehensive documentation about df command of unix? (more detailed than unix man pages) (2 Replies)
Discussion started by: gfhgfnhhn
2 Replies

3. UNIX for Advanced & Expert Users

xargs documentation or tutorial?

Can anybody please forward me a good xargs documentation or tutorial? - $nilesh (5 Replies)
Discussion started by: ynilesh
5 Replies

4. Solaris

Help with SunOS 5.8 documentation ?

Hi all. I have machine with SUN OS 5.8 but i don't have any documentation about that. where i can found any documentation about this OS? I have look in the sticky thread about Solaris in this forum, but can't found for the SUN OS 5.8. it's same with Solaris 10 or have major difference with... (4 Replies)
Discussion started by: urangkayo
4 Replies

5. Solaris

need LDAP documentation

Dear Members, 1- i need good documentation for LDAP installation, configuration 2- you recommeddation using LDAP under linux or solaris which is more easy for administration 3- is that possible to make integration between and LDAP and any email server like qmail (like windows active directory... (3 Replies)
Discussion started by: hosney00ux
3 Replies

6. Programming

libxml2 documentation

i need to read/write a xml file in c i found libxml2, but the documentation is awfull, im using google but i get most of vb, or c# results can anyone point me to a introduction tutorial? actually, any kind of documentation would be ok (just not the oficial The XML C parser and toolkit... (2 Replies)
Discussion started by: broli
2 Replies

7. HP-UX

HP-UX 10.20 Documentation

I'm trying to find the 10.20 documentation online. I found some stuff at g4u0420c.houston.hp.com but these are pretty poor scans some of them being almost unreadable - for example: http://g4u0420c.houston.hp.com/en/B1171-90076/B1171-90076.pdf which is a scan of a DRAFT version of the X... (9 Replies)
Discussion started by: perdrix
9 Replies

8. HP-UX

Need HP unix documentation for beginner

Hello All, I am working in HP unix since 5 years on application and support. But in order to get opportunity out side i need to learn admintration Can somebody help me to guide hot start for this. Do we have any doc(pdf) to start with. Thanks Krsnadasa (1 Reply)
Discussion started by: krsnadasa
1 Replies
log(8)							      System Manager's Manual							    log(8)

NAME
log - Records input and output from a program SYNOPSIS
/usr/sbin/log <logfile> <command> OPERANDS
The file in which to record the interaction being logged. The command to execute. DESCRIPTION
The log program runs <command> and logs the input to and output from <command> to the <logfile> file. Input and output are logged until <command> exits, the log program exits, and the exit status of <command> is returned. The log program is used by the system installation procedure and the it(8) command to create the /var/adm/smlogs/install.log and /var/adm/smlogs/it.log installation log files. RESTRICTIONS
Because the log program is used in the installation standalone environment, program size was the greatest concern in its implementation. The log program does not search for the PATH variable to locate <command> and error messages are terse. The log program causes <command> to take standard input from and write standard output and standard error to UNIX pipes. Some commands will not be able to operate in this environment; therefore, it is suggested that you use the script(1) command instead. UNIX shells will not issue prompts when run from log unless the shell is started with an explicit interactive switch (-i for most shells). For example, log foo.tmp /sbin/sh -i In the previous example, foo.tmp is the name of <logfile>. The log program intercepts end-of-file (usually Ctrl/d). Therefore programs which normally receive end-of-file as an exit command must exit by some other means. ERRORS
Log open error Explanation: The log program was unable to open <logfile>. Verify that the directory exists and that ownerships and permissions are set correctly. Exec Error Explanation: The log program was unable to execute <command>. Verify that you specified a full pathname for <command> and that <command> is an exe- cutable file. Fork Error Explanation: The log program was unable to create one of the processes it requires to log data. SEE ALSO
Commands: it(8), script(1) log(8)
All times are GMT -4. The time now is 10:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy