pipestatus 0.5.0 (Default branch)


 
Thread Tools Search this Thread
Special Forums News, Links, Events and Announcements Software Releases - RSS News pipestatus 0.5.0 (Default branch)
# 1  
Old 05-23-2008
pipestatus 0.5.0 (Default branch)

pipestatus is a source file for UNIX/POSIX shellsthat provides set of functions for obtaining theexit status of every program in a pipe withoutusing non-portable extensions. Most shells, suchas BSD /bin/sh, ksh, pdksh, ash, bash, dash, mksh,and zsh are supported.License: Public DomainChanges:
"check_status_re" and therefore "runpipe_re" use"grep -E" instead of "grep" in order to simplifythe regexp that contains exit statuses of 2 ormore digits. Formally speaking, this breaksbackward compatibility. If the PIPESTATUS_VERBOSEvariable is set to a non-empty string, then thecheck_status0 and check_status_re functions printan error message to stderr.Image

More...
Login or Register to Ask a Question

Previous Thread | Next Thread

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash ${PIPESTATUS[@]}

I'm using this form of variable setting to use the exit status of a pipeline e.g. foo=$(date|grep -i thursday)$? echo $foo echo ${PIPESTATUS} or $foo later in a script. On days other than Thursday it results in: 1 0 For some reason the PIPESTATUS array doesn't show. I'd... (2 Replies)
Discussion started by: spacegoose
2 Replies

2. Shell Programming and Scripting

Creating a run script, getting pipestatus from eval

Hi All, I'm new to bash so I appreciate any help. Basically I want to create a script that takes 1 argument, a string from the command line. It then executes that string emailing me the std out and std err. And lastly it checks the exit status of the job and sends me an email telling me if the... (7 Replies)
Discussion started by: markov49
7 Replies
Login or Register to Ask a Question
streampipes(5)							File Formats Manual						    streampipes(5)

NAME
streampipes - force all pipes to be STREAMS-based VALUES
Failsafe Default Allowed values Recommended values DESCRIPTION
This tunable determines the type of pipe that is created by the system call. If set to the default value of zero, all pipes created by are normal HP-UX file-system pipes. If the value is non-zero, creates STREAMS-based pipes, and STREAMS modules can be pushed onto the result- ing stream. If this tunable is set to a non-zero value, the and module and driver must be configured in file Who Is Expected to Change This Tunable? Any customer. Restrictions on Changing Changes to this tunable take effect at next reboot. When Should the Tunable Be Turned On? If the customer uses applications that require STREAMS-based pipes, this tunable should be turned on. What Are the Side Effects of Turning the Tunable On? STREAMS-based pipes performance may differ from normal file system pipes. When Should the Tunable Be Turned Off? If the customer does not need the STREAMS-based pipes, this tunable should be turned off. What Are the Side Effects of Turning the Tunable Off? Applications that try to push STREAMS modules onto the pipe will fail. What Other Tunable Should Be Changed at the Same Time as This One? If this tunable is set to a non-zero value, the and module and driver must be configured in the file WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of HP-UX. Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation, some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun- able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was factory installed on your system, see at AUTHOR
was developed by HP. Tunable Kernel Parameters streampipes(5)