Sponsored Content
Full Discussion: Not getting how to write
Top Forums Shell Programming and Scripting Not getting how to write Post 302843185 by Scott on Monday 12th of August 2013 09:54:26 AM
Old 08-12-2013
Maybe it needs a Q too?

Code:
printf "t\nQ\n" | amqrfdm -m "$QMGR" > chl.txt

Assuming the program can read from standard input.

Or perhaps the program does not write to standard output? Is there any screen output?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to Write RPM

Hi All, Could anyone here tell me abt RPM? How to use this? I want to write it for making a build ? also tell me how to write installation file? Thanks, Kammy (1 Reply)
Discussion started by: kjannu
1 Replies

2. Shell Programming and Scripting

how to write

hi buddies i want to write a awk script for the file like this: Aaj rootha huwa ek dost bahut yaad aaya, Achha guzra huwa kuch waqt bahut yaad aaya, Meri aankhon ke har ek ashq pe rone wala, Aaj jab aankh yeh royi to bahut yaad aaya, Jo mere dard ko seene mein chhupa leta thaa, Jo... (2 Replies)
Discussion started by: LAKSHMI NARAYAN
2 Replies

3. Shell Programming and Scripting

Find all files with group read OR group write OR user write permission

I need to find all the files that have group Read or Write permission or files that have user write permission. This is what I have so far: find . -exec ls -l {} \; | awk '/-...rw..w./ {print $1 " " $3 " " $4 " " $9}' It shows me all files where group read = true, group write = true... (5 Replies)
Discussion started by: shunter63
5 Replies

4. IP Networking

read/write,write/write lock with smbclient fails

Hi, We have smb client running on two of the linux boxes and smb server on another linux system. During a backup operation which uses smb, read of a file was allowed while write to the same file was going on.Also simultaneous writes to the same file were allowed.Following are the settings in the... (1 Reply)
Discussion started by: swatidas11
1 Replies

5. Programming

Write-Write on a socket

Can anyone tell what happens if each end writes at the same time on the same socket ? - if one of them issues a read() after write() has completed, will it record into the buffer what the other sent ? ex. e1 writes to e2 - - - while - - - e2 writes to e1 (at the same time) e1 read () - what... (1 Reply)
Discussion started by: gendaox
1 Replies

6. Shell Programming and Scripting

Please help me to write the script

Hi All, I have written the follwing script to take the backup of the file every day along with the date. DATE=`date +%Y%m%d` export DATE cp var/hr/hr333m.txt cp var/hr/payments/hr333m_$DATE.txt The file name as follows after taking the backup. hr333m_20110630.txt Could you... (3 Replies)
Discussion started by: ajaykumarkona
3 Replies

7. Shell Programming and Scripting

Write with a look for timestamps

hello i'm using SOX to generate a spectrogram from a wave file with the command : #sox file.wav -n spectrogram is there a way to create a spectrogram using the same command but reading file timestamps instead of the namefile.wav , since name is changing every 4 hours? (it's saved with... (2 Replies)
Discussion started by: Board27
2 Replies

8. Shell Programming and Scripting

Is it possible to write write multiple cronjobs in shellscript??

Hi All, I need the answer of below question? 1) How to write multiple cronjobs in shellscript? Is there any way or we cant write in shellscript... Regards, Priyanka (2 Replies)
Discussion started by: pspriyanka
2 Replies

9. Programming

Interactive Python 3.5+ sys.stdout.write() AND sys.stderr.write() bug?

(Apologies for any typos.) OSX 10.12.3 AND Windows 10. This is for the serious Python experts on at least 3.5.x and above... In script format sys.stdout.write() AND sys.stderr.write() seems to work correctly. Have I found a serious bug in the interactive sys.stdout.write() AND... (2 Replies)
Discussion started by: wisecracker
2 Replies
RA_RGBE(1)						      General Commands Manual							RA_RGBE(1)

NAME
ra_rgbe - convert between different RADIANCE picture types SYNOPSIS
ra_rgbe [ -r ][ -e +/-stops ][ -f ][ -n frameno ] [ input [ outspec ] ] DESCRIPTION
Ra_rgbe converts between RADIANCE run-length encoded and flat formats, and separates concatanated animation frames produced by rpict(1). The -e option specifies an exposure compensation in f-stops (powers of two). Only integer stops are allowed, for efficiency. By default, ra_rgbe produces a flat RADIANCE picture file from any type of RADIANCE input picture. The -r option causes ra_rgbe to produce a run- length encoded file instead. If the input file consists of multiple animation frames as produced by rpict with the -S option, ra_rgbe will read each frame and write it to the output file created by calling printf(3) with the output specification and frame number as arguments. If the output specification begins with an exclamation mark ('!'), then this interpreted as a command spec., which is also run through printf with the frame number to get the final command. This command must accept a Radiance picture on its standard input, and may write results either to a file or to the standard output. The -n option may be used to select a specific frame for output, and other frames in the input will be skipped. Nor- mally, all frames will be read and written. Ra_rgbe will report an error and exit if the target output file already exists, unless the -f option is given. If the output file is miss- ing, the standard output is used. If the input file is missing or set to '-', the standard input is used. NOTES
The file format for RADIANCE pictures was changed between release 1.4 and release 2.0. The older format can still be read by all the pro- grams, but only the newer format is produced. This newer format cannot be read by RADIANCE software prior to release 2.0. Ra_rgbe provides some downward compatibility by producing files that can be read by older RADIANCE software. The resultant files are also easier to manipulate with programs designed to read raw raster data. The other use for ra_rgbe is as a quicker way to adjust the exposure of a RADIANCE picture than pfilt(1), since ra_rgbe only allows integer f-stop changes. In this mode, ra_rgbe should be used with the -r option. AUTHOR
Greg Ward ACKNOWLEDGEMENT
Work on this program was initiated and sponsored by the LESO group at EPFL in Switzerland. SEE ALSO
pfilt(1), printf(1), ra_xyze(1), rpict(1) RADIANCE
1/23/98 RA_RGBE(1)
All times are GMT -4. The time now is 06:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy