Sponsored Content
Full Discussion: what is the result of this?
Top Forums UNIX for Dummies Questions & Answers what is the result of this? Post 302315244 by pludi on Tuesday 12th of May 2009 01:52:49 AM
Old 05-12-2009
The request to do your own homework?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sftp result

Hi, I have a sftp account to another server, from which I need to find out all the files match "*.abc.*.xml" pattern in a certain directory. I have a batchfile as follows cd /tmp ls -l *.abc.*.xml quit then I run output=`/usr/local/bin/sftp -B $batchfile $USER@$HOST` the result looks... (2 Replies)
Discussion started by: mpang_
2 Replies

2. Shell Programming and Scripting

Outputting formatted Result log file from old 30000 lines result log<help required>

Well I have a 3000 lines result log file that contains all the machine data when it does the testing... It has 3 different section that i am intrsted in 1) starting with "20071126 11:11:11 Machine Header 1" 1000 lines... "End machine header 1" 2) starting with "20071126 12:12:12 Machine... (5 Replies)
Discussion started by: vikas.iet
5 Replies

3. UNIX for Dummies Questions & Answers

display the result of wc -l with words before and after the result

hello showrev -p | wc -l returns: 381 What to do in case I want to have this output: number of lines returned by showrev -p is: 381 thx (3 Replies)
Discussion started by: melanie_pfefer
3 Replies

4. UNIX for Dummies Questions & Answers

result of ftp

Hi friends, I am trying to FTP a file to a different server. My script is given below command=`ftp -n $FTP_HOST <<END_SCRIPT user $FTP_USER $FTP_PASSWD lcd $TEMPFOLDER cd $FTP_LOCATION put $FILE bye END_SCRIPT` result="$command" echo "result is $result" if ; then echo... (6 Replies)
Discussion started by: MeeraNair
6 Replies

5. Shell Programming and Scripting

Get execute result of su

I wrote a shell script. su user << EOF some commands result=$? EOF echo $result Other program determined by $result It outputs nothing. How to pass the variable 'result' "inside su" to "outside su"? (5 Replies)
Discussion started by: uativan
5 Replies

6. UNIX for Dummies Questions & Answers

what is the result of this?

ls -A $variable (2 Replies)
Discussion started by: prathimahsc
2 Replies

7. UNIX for Dummies Questions & Answers

Help me in getting the desired result

Hi All, I have input file which is pipe delimited A | 1 B | 2 c | 3I need output of displaying total number of lines in a file as last column. A | 1 | 3-----total number of linesin file. B | 2 | 3 c | 3 | 3 (9 Replies)
Discussion started by: pravinashwin
9 Replies

8. Shell Programming and Scripting

Strange result

Hi, I have following codes which looks ok: $ string1="123456789 abc2" $ string2="abc" $ position_of_string2=`expr index "$string1" "$string2"` $ echo $position_of_string2 $ 11however, when string2="abc2", it gives me the following result: $ string1="123456789 abc2" $... (5 Replies)
Discussion started by: littlewenwen
5 Replies

9. Shell Programming and Scripting

How can I get the required result?

Hi, guys. I have a question. Please help me~ I got an text, recording the weather reports. It is the Attachment "Weather Forcast_original.txt" I want to get the required result like the attachment "Weather Forcast_formatted.txt" I thought about the loop, the conditions, but I'm surely... (3 Replies)
Discussion started by: franksunnn
3 Replies

10. Shell Programming and Scripting

How to compare the current result with previous line result.?

Hi Gurus, I have requirement to compare current result with previous reuslt. The sample case is below. 1 job1 1 1 job2 2 1 job3 3 2 job_a1 1 2 job_a2 2 2 job_a3 3 3 job_b1 1 3 job_b2 2 for above sample file, GID is group ID, for input line, the job run... (1 Reply)
Discussion started by: ken6503
1 Replies
DtMmdbDlpGetNextSectionId(library call) 								   DtMmdbDlpGetNextSectionId(library call)

NAME
DtMmdbDlpGetNextSectionId -- obtains the object identifier of the next section SYNOPSIS
#include <DtMmdb.h> DtMmdbHandle* DtMmdbDlpGetNextSectionId( DtMmdbInfoRequest* request); DESCRIPTION
The DtMmdbDlpGetNextSectionId function returns the object identifier of the next section. You can use this function to traverse the TOC hierarchy in a depth-first fashion. Use the DtMmdbFreeHandleList function to release the memory when the object identifier is no longer needed. Table lookup is involved. ARGUMENTS
request Specifies the bookcase in the bookcase descriptor field, as well as the id of the current section in the primary_oid field. RETURN VALUE
If DtMmdbDlpGetNextSectionId completes successfully, it returns a pointer to the object identifier for the next section or DtMmdbGroundId, if there is no next section. If it fails, it returns a NULL pointer. EXAMPLE
The following shows how a DtMmdbDlpGetNextSectionId call might be coded. DtMmdbHandle* my_oid; DtMmdbInfoRequest request; request.bookcase_descriptor = DtMmdbGetBookCase(myInfoLibPtr, "myBase"); request.primary_oid = my_oid; DtMmdbHandle* x = DtMmdbDlpGetNextSectionId(&request); if ( x == DtMMdbGroundId) { /* no next section */ } else { if (x == 0) { /* bad request */ } else { /* make use of x */ } SEE ALSO
DtMmdbDlpGetPrevSectionId(3) DtMmdbDlpGetNextSectionId(library call)
All times are GMT -4. The time now is 02:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy