Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Sequential execution in shell script? Post 302112728 by chengwei on Thursday 29th of March 2007 09:26:27 PM
Old 03-29-2007
Actually I want the current line to finish executing before continuing to the next line. So do I still use the '&"?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

execution of shell script

How can I execute another shell script from one? Malay (5 Replies)
Discussion started by: malaymaru
5 Replies

2. Programming

Reading special characters while converting sequential file to line sequential

We have to convert a sequential file to a 80 char line sequential file (HP UX platform).The sequential file contains special characters. which after conversion of the file to line sequential are getting coverted into "new line" or "tab" and file is getting distorted. Is there any way to read these... (2 Replies)
Discussion started by: Rajeshsu
2 Replies

3. Shell Programming and Scripting

Sequential execution of job in cron

Hi I have a file say xyz.sh, whose contents are as follows : *************************** #! /bin/ksh set -x . /a.sh . /b.sh . /c.sh ***************************** Now will this execute all the three process simultaneously or sequentially? If it will process simultaneously, is... (3 Replies)
Discussion started by: pankajkrmishra
3 Replies

4. UNIX for Dummies Questions & Answers

Is there a way to tell how long does a shell script's execution take?

Is there a way to tell how long does a shell script(or a shell command)'s execution take? (4 Replies)
Discussion started by: meili100
4 Replies

5. Shell Programming and Scripting

Cron execution of shell script

Hi Guys, Unable to run this script from the cron,although the same executes perfectly from the command line.Please help. #!/bin/sh #### aprintd alarm creation files ##### file=`date +%m%d%Y` pid=$$ echo "$pid" /u01/app/netboss/bin/aprintd/aprintd > $file & childpid=$!... (3 Replies)
Discussion started by: ashish.sharma
3 Replies

6. UNIX for Advanced & Expert Users

SSH using shell script terminates the script execution

Hello, I am writing a shell script in which i do ssh to remote server and count the number of files there and then exit. After the exit the shell script terminates which i believe is expected behavior. Can some one suggest me a way where even after the exit the script execution resumes. ... (2 Replies)
Discussion started by: manaankit
2 Replies

7. UNIX for Dummies Questions & Answers

Shell script execution methods

Hi, Shell script can be executed in few ways. I would like to know the differences in the below execution methods. sh file1.sh . file1.sh . /file1.sh Please help, thank you. (2 Replies)
Discussion started by: Dev_Dev
2 Replies

8. Solaris

Script on Solaris spawning 2 processes for one shell script execution

Hi, I am having a shell script on Solaris 10 which has a while loop as shown below. #!/usr/bin/ksh # while do sleep 60 done Name of the shell script is coldcentric.sh. I executed script /DATAWAREHOUSE/LOAD/Scripts/coldcentric.sh from a command task in Informatica worklow as... (3 Replies)
Discussion started by: chekusi
3 Replies

9. Shell Programming and Scripting

Sequential execution of commands in ksh

I need to run few commands in a ksh script sequentially. Some of the commands are jobs submitted to the server and the consecutive commands are dependent on the completion of the jobs submitted to the server. It works if i separate the commands into different files like this #!/bin/ksh... (1 Reply)
Discussion started by: prashob123
1 Replies

10. Shell Programming and Scripting

Sequential Function Execution

I am having two different function in my script. When control is at first function I do not want to execute another function. How I can do that? Help is highly appreiated as I am not sure How I can do it in Unix? Thanks, Vikram. (2 Replies)
Discussion started by: VSom007
2 Replies
zipios::ZipOutputStreambuf(3)				     Library Functions Manual				     zipios::ZipOutputStreambuf(3)

NAME
zipios::ZipOutputStreambuf - ZipOutputStreambuf is a zip output streambuf filter. SYNOPSIS
#include <zipoutputstreambuf.h> Inherits zipios::DeflateOutputStreambuf. Public Types enum CompressionLevels { NO_COMPRESSION = Z_NO_COMPRESSION, BEST_SPEED = Z_BEST_SPEED, BEST_COMPRESSION = Z_BEST_COMPRESSION, DEFAULT_COMPRESSION = Z_DEFAULT_COMPRESSION } Public Member Functions ZipOutputStreambuf (streambuf *outbuf, bool del_outbuf=false) ZipOutputStreambuf constructor. void closeEntry () Closes the current entry, and positions the stream read pointer at the beginning of the next entry (if there is one). void close () Calls finish. void finish () Closes the current entry (if one is open), then writes the Zip Central Directory Structure closing the ZipOutputStream. void putNextEntry (const ZipCDirEntry &entry) Begins writing the next entry. void setComment (const string &comment) Sets the global comment for the Zip archive. void setLevel (int level) Sets the compression level to be used for subsequent entries. void setMethod (StorageMethod method) Sets the compression method to be used. virtual ~ZipOutputStreambuf () Destructor. Protected Member Functions virtual int overflow (int c=EOF) virtual int sync () void setEntryClosedState () void updateEntryHeaderInfo () Static Protected Member Functions static void writeCentralDirectory (const vector< ZipCDirEntry > &entries, EndOfCentralDirectory eocd, ostream &os) Detailed Description ZipOutputStreambuf is a zip output streambuf filter. Definition at line 17 of file zipoutputstreambuf.h. Constructor &; Destructor Documentation zipios::ZipOutputStreambuf::ZipOutputStreambuf (streambuf *outbuf, booldel_outbuf = false) [explicit] ZipOutputStreambuf constructor. A newly constructed ZipOutputStreambuf is not ready to accept data, putNextEntry() must be invoked first. Parameters: outbuf the streambuf to use for input. del_outbuf if true is specified outbuf will be deleted, when the ZipOutputStreambuf is destructed. Definition at line 20 of file zipoutputstreambuf.cpp. zipios::ZipOutputStreambuf::~ZipOutputStreambuf () [virtual] Destructor. Definition at line 56 of file zipoutputstreambuf.cpp. Member Function Documentation void zipios::ZipOutputStreambuf::close () Calls finish. Definition at line 41 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::closeEntry () Closes the current entry, and positions the stream read pointer at the beginning of the next entry (if there is one). Definition at line 30 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::finish () Closes the current entry (if one is open), then writes the Zip Central Directory Structure closing the ZipOutputStream. The output stream that the zip archive is being written to is not closed. Definition at line 46 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::putNextEntry (const ZipCDirEntry &entry) Begins writing the next entry. Opens the next entry in the zip archive and returns a const pointer to a FileEntry object for the entry. Returns: a const FileEntry * containing information about the (now) current entry. Definition at line 61 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::setComment (const string &comment) Sets the global comment for the Zip archive. Definition at line 83 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::setLevel (intlevel) Sets the compression level to be used for subsequent entries. Definition at line 88 of file zipoutputstreambuf.cpp. void zipios::ZipOutputStreambuf::setMethod (StorageMethodmethod) Sets the compression method to be used. only STORED and DEFLATED are supported. Definition at line 93 of file zipoutputstreambuf.cpp. Author Generated automatically by Doxygen for Zipios++ from the source code. Zipios++ Mon Oct 10 2011 zipios::ZipOutputStreambuf(3)
All times are GMT -4. The time now is 10:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy