Sponsored Content
Top Forums Shell Programming and Scripting Bash multiple output redirection Post 73366 by yoi2hot4ya on Tuesday 31st of May 2005 12:52:04 PM
Old 05-31-2005
yoi2hot4ya

Thanks ICE!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

output redirection in scripts

I am trying to write a script that will remove any line in 2 given text files starting with '-'. the output should be to the second file. this is what I tried: #!/bin/csh -f cat $1 $2 | grep -v '^-' > $2 the problem is the after executing the script, file2 contains only the lines from... (7 Replies)
Discussion started by: stewie griffin
7 Replies

2. Shell Programming and Scripting

redirection and output

I'm redirecting the output of a command to a logfile, however, if the user is on a terminal I would also like the output to be displayed on the screen. tar tvf some_tarfile >Logfile if the user is on a term then have the output to the Logfile and also be displayed on the screen at the same... (2 Replies)
Discussion started by: nck
2 Replies

3. Shell Programming and Scripting

BASH Problem / Question regarding redirection

Hi all, Maybe someone is able to help: Need to redirect the output of a command in realtime to a second command. Command-A executes a remote shell to another host, and outputs its results. Command-B displays a "dialog" with the outputs of Command-A. Command-A Output: Updating FileA... (2 Replies)
Discussion started by: mharald
2 Replies

4. Shell Programming and Scripting

Redirection output

Hi there I have a script that runs but it outputs everything onto the screen instead of a file. I've tried using the > outputfile.txt however all it does is dump the output to the screen and creates an outputfile.txt but doesn't put anything in that file. Any help would be appreciated ... (6 Replies)
Discussion started by: kma07
6 Replies

5. Shell Programming and Scripting

Output redirection

We have an application here that does some table queries and then prints the result on screen. I do not have the code of this application (which i will just call "queryCommand"), but what it does is that you call it with some parameters and it prints some info about the query and then the... (5 Replies)
Discussion started by: jolateh
5 Replies

6. UNIX for Dummies Questions & Answers

Output redirection

Hello i am trying to write a script that will redirect the output to a certain file. Here is the code so far: #!/bin/bash ps -e | sort | more > psfile When I execute the script nothing happens since i assume the output was redirected to the file called psfile. When I try to look at the... (1 Reply)
Discussion started by: mfruiz34
1 Replies

7. Shell Programming and Scripting

Redirection of ls -l output

Hi I am making a script where i want to redirect the output of ls -l to a file Example #ls -l fil1.txt > /opt/temp/a.txt ac: No such file or directory I want to capture output of this command like here output is ac: No such file or directory can anyone help (4 Replies)
Discussion started by: anish19
4 Replies

8. Shell Programming and Scripting

output redirection

Hi all I was wondering if there was a slicker way of doing this without the file - awk '{print $2}' FS=":" "${FILE}" > "${TMPFILE}" { read M_GRP_ID || m_fail 1 "Error: Read failed 1 (${FUNCNAME})" read M_GRP_WAIT || m_fail 1 "Error: Read failed 2 (${FUNCNAME})" }... (6 Replies)
Discussion started by: steadyonabix
6 Replies

9. Shell Programming and Scripting

Input redirection within bash script

Hi, when I try to redirect input and the command is described as a string within an array redirection does not work. why? #!/bin/bash dir=("tail < ./hello.txt") tail < ./hello.txt #works ${dir} #does not work (2 Replies)
Discussion started by: heinzel
2 Replies

10. UNIX for Beginners Questions & Answers

Question on bash redirection

Hi, Can I get some explanation around this bash redirection? From what I have read, x < y means call the shell to redirect the output of y into x. Does this mean that this sequence of commands is executed from right to left? diff <(sort testfile.txt) <(sort testfile2.txt) Thanks, edit... (2 Replies)
Discussion started by: sand1234
2 Replies
XSTANDARDS(7)						 Miscellaneous Information Manual					     XSTANDARDS(7)

NAME
XStandards - X Window System Standards and Specifications SYNOPSIS
The major goal of the X Consortium was to promote cooperation within the computer industry in the creation of standard software interfaces at all layers in the X Window System environment. The X Consortium produced standards - documents which defined network protocols, pro- gramming interfaces, and other aspects of the X environment. These standards continue to exist in the X.Org Foundation releases. The X.Org Foundation also produces specifications. Like X Window System Standards, these are documents which define network protocols, pro- gramming interfaces, and other aspects of the X environment. Under the aegis of The Open Group, X Window System standards, X.Org Founda- tion specifications, and other specifications are the basis for portions of The Open Group's various CAE specifications. The status of various standards, specifications, and the software in the X11R7.0 distribution, is explained below. STANDARDS
The following documents are X Window System standards: X Window System Protocol X Version 11, Release 7.0 Robert W. Scheifler Xlib - C Language X Interface X Version 11, Release 7.0 James Gettys, Robert W. Scheifler, Ron Newman X Toolkit Intrinsics - C Language Interface X Version 11, Release 7.0 Joel McCormack, Paul Asente, Ralph R. Swick, Donna Converse Bitmap Distribution Format Version 2.1 X Version 11, Release 7.0 Inter-Client Communication Conventions Manual Version 2.0 X Version 11, Release 7.0 David Rosenthal, Stuart W. Marks Compound Text Encoding Version 1.1 X Version 11, Release 7.0 Robert W. Scheifler X Logical Font Description Conventions Version 1.5 X Version 11, Release 7.0 Jim Flowers, Stephen Gildea X Display Manager Control Protocol Version 1.1 X Version 11, Release 7.0 Keith Packard X11 Nonrectangular Window Shape Extension Version 1.0.1 X Version 11, Release 7.0 Keith Packard X11 Input Extension Protocol Specification Version 1.0 X Version 11, Release 7.0 George Sachs, Mark Patrick X11 Input Extension Library Specification X Version 11, Release 7.0 Mark Patrick, George Sachs The X Font Service Protocol Version 2.0 X Version 11, Release 7.0 Jim Fulton Inter-Client Exchange (ICE) Protocol Version 1.0 X Version 11, Release 7.0 Robert Scheifler, Jordan Brown Inter-Client Exchange (ICE) Library Version 1.0 X Version 11, Release 7.0 Ralph Mor X Session Management Protocol Version 1.0 X Version 11, Release 7.0 Mike Wexler X Session Management Library Version 1.0 X Version 11, Release 7.0 Ralph Mor The Input Method Protocol Version 1.0 X Version 11, Release 7.0 Masahiko Narita, Hideki Hiura X Synchronization Extension Version 3.0 X Version 11, Release 7.0 Tim Glauert, Dave Carver, Jim Gettys, David P. Wiggins XTEST Extension Version 2.2 Kieron Drake Big Requests Extension Version 2.0 X Version 11, Release 7.0 Bob Scheifler XC-MISC Extension Version 1.1 X Version 11, Release 7.0 Bob Scheifler, Dave Wiggins Double Buffer Extension Version 1.0 Ian Elliott, David P. Wiggins Record Extension Protocol Version 1.13 Martha Zimet, Stephen Gildea Record Extension Library Version 1.13 Martha Zimet, Stephen Gildea X Keyboard Extension Protocol X Version 11, Release 7.0 Erik Fortune X Keyboard Extension Library X Version 11, Release 7.0 Amber J. Benson, Gary Aitken, Erik Fortune, Donna Converse, George Sachs, and Will Walker X Print Extension Protocol X Version 11, Release 7.0 X Print Extension Library X Version 11, Release 7.0 X Application Group Extension Protocol and Library Version 1.0 X Version 11, Release 7.0 Kaleb Keithley X Security Extension Protocol and Library Version 4.0 X Version 11, Release 7.0 Dave Wiggins X Proxy Manager Protocol X Version 11, Release 7.0 Ralph Swick LBX Extension Protocol and Library X Version 11, Release 7.0 Keith Packard, Dave Lemke, Donna Converse, Ralph Mor, Ray Tice Remote Execution MIME Type Version 1.0 X Version 11, Release 7.0 Arnaud Le Hors SPECIFICATIONS
The following documents are X Project Team specifications: Colormap Utilization Policy and Extension Version 1.0 Kaleb Keithley Extended Visual Information Extension Version 1.0 Peter Daifuku X Display Power Management (DPMS) Extension Protocol and Library Version 1.0 Rob Lembree INCLUDE FILES
The following include files are part of the Xlib standard. <X11/cursorfont.h> <X11/keysym.h> <X11/keysymdef.h> <X11/X.h> <X11/Xatom.h> <X11/Xcms.h> <X11/Xlib.h> <X11/Xlibint.h> <X11/Xproto.h> <X11/Xprotostr.h> <X11/Xresource.h> <X11/Xutil.h> <X11/X10.h> The following include files are part of the X Toolkit Intrinsics standard. <X11/Composite.h> <X11/CompositeP.h> <X11/Constraint.h> <X11/ConstrainP.h> <X11/Core.h> <X11/CoreP.h> <X11/Intrinsic.h> <X11/IntrinsicP.h> <X11/Object.h> <X11/ObjectP.h> <X11/RectObj.h> <X11/RectObjP.h> <X11/Shell.h> <X11/ShellP.h> <X11/StringDefs.h> <X11/Vendor.h> <X11/VendorP.h> The following include file is part of the Nonrectangular Window Shape Extension standard. <X11/extensions/shape.h> The following include files are part of the X Input Extension standard. <X11/extensions/XI.h> <X11/extensions/XInput.h> <X11/extensions/XIproto.h> The following include files are part of the ICElib standard. <X11/ICE/ICE.h> <X11/ICE/ICEconn.h> <X11/ICE/ICElib.h> <X11/ICE/ICEmsg.h> <X11/ICE/ICEproto.h> <X11/ICE/ICEutil.h> The following include files are part of the SMlib standard. <X11/SM/SM.h> <X11/SM/SMlib.h> <X11/SM/SMproto.h> The following include file is part of the Synchronization standard. <X11/extensions/sync.h> The following include file is part of the XTEST standard. <X11/extensions/XTest.h> The following include file is part of the Double Buffer Extension standard. <X11/extensions/Xdbe.h> The following include file is part of the Record Library standard. <X11/extensions/record.h> The following include files are part of the X Keyboard Extension Library standard. <X11/XKBlib.h> <X11/extensions/XKB.h> <X11/extensions/XKBproto.h> <X11/extensions/XKBstr.h> <X11/extensions/XKBgeom.h> The following include files are part of the X Print Extension Library standard. <X11/extensions/Print.h> <X11/extensions/Printstr.h> The following include files are part of the X Application Group Extension Library standard. <X11/extensions/Xag.h> <X11/extensions/Xagstr.h> The following include files are part of the X Security Extension Library standard. <X11/extensions/security.h> <X11/extensions/securstr.h> The following include files are part of the LBX Extension library standard. <X11/extensions/XLbx.h> <X11/extensions/lbxbuf.h> <X11/extensions/lbxbufstr.h> <X11/extensions/lbxdeltastr.h> <X11/extensions/lbximage.h> <X11/extensions/lbxopts.h> <X11/extensions/lbxstr.h> <X11/extensions/lbxzlib.h> The following include files are part of the Colormap Utilization Policy and Extension specification. <X11/extensions/Xcup.h> <X11/extensions/Xcupstr.h> The following include files are part of the Extended Visual Information specification. <X11/extensions/XEVI.h> <X11/extensions/XEVIstr.h> The following include files are part of the X Display Management Signaling Extension specification. <X11/extensions/dpms.h> <X11/extensions/dpmsstr.h> NON STANDARDS
The X11R7.0 distribution contains sample implementations, not reference implementations. Although much of the code is believed to be cor- rect, the code should be assumed to be in error wherever it conflicts with the specification. The only X Window System standards are the ones listed above. No other documents, include files, or software in X11R7.0 carry special sta- tus within the X Window System. For example, none of the following are standards: internal interfaces of the sample server; the MIT-SHM extension; the Athena Widget Set; the Xmu library; the Xau library; the RGB database; the X Locale database; the fonts distributed with X11R7.0; the applications distributed with X11R7.0; the include files <X11/XWDFile.h>, <X11/Xfuncproto.h>, <X11/Xfuncs.h>, <X11/Xosdefs.h>, <X11/Xos.h>, <X11/Xos_r.h>, <X11/Xwinsock.h>, and <X11/Xthreads.h>; the bitmap files in <X11/bitmaps>. The Multi-Buffering extension was a draft standard of the X Consortium but has been superseded by DBE as a standard. X REGISTRY
The X.Org Foundation maintains a registry of certain X-related items, to aid in avoiding conflicts and to aid in sharing of such items. The registry is published as part of the X Window System software release. The latest version may also be found at ftp://ftp.x.org/pub/DOCS/registry The X Registry and the names in it are not X Window System standards. X Version 11 xorg-docs 1.4 XSTANDARDS(7)
All times are GMT -4. The time now is 12:45 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy