04-22-2011
A picture is worth a thousand of words.
By not displaying a sample of the input and output data, you will not allow people to understand your requirement properly, thus they will not answer it.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi
I have a file in which I have 5 columns which are delimited by “|” as shown
ABC|12|YAK|METRIC|000000019.5
XYZ|10|ABX|META|000000002.5
Now my requirement is to take the last column trim the leading zero's for that column values and write back to the same file in the same... (7 Replies)
Discussion started by: nvuradi
7 Replies
2. Shell Programming and Scripting
I have a variable that is a full path name and I just want the file name with out the extension. I have figured out how to do this using some temp files but I would really like to avoid that if possible.
I know I can do
echo ${TMPNAME%.*} to drop the extension is there a similar way to drop... (3 Replies)
Discussion started by: whdr02
3 Replies
3. UNIX for Dummies Questions & Answers
Hi all ,
I am creating the file which holds the create query to run in the sql prompt:
so when i am creating:
create table XXX( SD Varchar2(10),
DF Varchar2(10),)
I am getting one comma at the last ,before i am inserting the closing bracket i need to delete that? kindly provide me the... (1 Reply)
Discussion started by: ithirak17
1 Replies
4. Shell Programming and Scripting
HI I HAVE A PROBLEM,MY SOURCE FILE IS OF PATTERN
S1,E-Certified,29,29,2.7,Certified,4,3,2.7,,0,0,0
S2,Certified,4,3,2.7,,0,0,0,,0
S3,E-Certified,29,29,2.7,,0,0,0
S4,,0,0,0,,0,0,0,,0,0,0,,0,0,0
AND THE EXPECTED OUTPUT IS
S1,E-Certified,29,29,2.7
S1,Certified,4,3,2.7... (1 Reply)
Discussion started by: pkumar3
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I have a ln between two files (say ln a b), when i truncate file " b ", this truncates file " a " also, a binary line is being added as the first line of both the files.
This is causing problems with other scripts which grep on the above files.
(though i can work my way around... (4 Replies)
Discussion started by: akshay61286
4 Replies
6. UNIX for Dummies Questions & Answers
Hi
The below script working when we are sending the html as attachment can u please guide how to send thesmae data in table form direct in the mail and not in mail attachment .
cat Employee.sql
SET VERIFY OFF
SET PAGESIZE 200
SET MARKUP HTML ON SPOOL ON PREFORMAT OFF ENTMAP ON -
HEAD... (0 Replies)
Discussion started by: mani_isha
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I need to truncate a file based on date.Suppose i have a log file which is getting updated every date,i need to keep 7 days worth of data(like sysdate-7) and rest i want to truncate it.Can some help me? (5 Replies)
Discussion started by: Param0073
5 Replies
8. Shell Programming and Scripting
consider the small piece of code
while read line
do
echo $line
done < example
content of example file
sadasdasdasdsa erwerewrwr ergdgdfgf rgerg erwererwr
the output is like
sadasdasdasdsa erwerewrwr ergdgdfgf rgerg erwererwr
the... (4 Replies)
Discussion started by: Kesavan
4 Replies
9. Shell Programming and Scripting
I'm using plink.exe on WinXP to run some commands on Z/OS BASH. My commands are interspersed with echo commands so that I can parse the output and work out what is where.
The first hundred or so commands run fine, but then one of them gets truncated. For example:
Input:
echo :end_logdetail:... (6 Replies)
Discussion started by: PhilHibbs
6 Replies
10. Shell Programming and Scripting
Legends,
I have 2 files f1 and f2. when i use nawk to compare the difference(subtraction) from 4th column of the file, it truncates the output.
can you please help to resolve this.
subtraction is (4th col of f1 - 4th col of f2). but it gives only below lines out of 116. I want to print all... (7 Replies)
Discussion started by: sdosanjh
7 Replies
RA_BMP(1) General Commands Manual RA_BMP(1)
NAME
ra_bmp - convert RADIANCE picture to/from Windows BMP image
SYNOPSIS
ra_bmp [ -b ][ -g gamma ][ -e spec ][ -p xr yr xg yg xb yb xw yw ] [ [ input|- [ output ] ]
ra_bmp -r [ -g gamma ][ -e +/-stops ] [ [ input|- [ output ] ]
DESCRIPTION
Ra_bmp converts between RADIANCE and a Windows BMP image. During forward conversion, the -b option produces 8-bit grayscale output rather
than 24-bit RGB. The -g option specifies the exponent used in monitor gamma correction; the default value is 2.2. The -e option specifies
a tone-mapping method or exposure compensation. If the argument is one of the special words "auto", "human", or "linear", the image will
be tone-mapped with histogram adjustment, human vision simulation, or an averaged linear exposure, respectively. (These words may be
abbreviated by one or more letters.) Otherwise, the exposure specification is interpreted as a linear compensation value in integer f-
stops, which must be proceeded by a '+' or '-'. The CRT color output primaries may be specified with the -p option.
The -r option invokes a reverse conversion, from a Windows BMP image to a RADIANCE picture. Tone-mapping and monitor primaries are not
supported for reverse conversion.
Ra_bmp can accept 16-bit or color-mapped BMP files on input, but cannot not produce them on output.
A hyphen ('-') may be specified to indicate standard input for either forward or reverse conversion so that an output file may be speci-
fied. If the BMP input is taken from the standard input or sent to the standard output without tone-mapping, then the scanlines may be
reversed from their usual ordering. Reversed scanlines sometimes causes difficulties for programs attempting to interpret the resulting
RADIANCE picture or BMP image, which may be rejected or displayed inverted.
AUTHOR
Greg Ward
SEE ALSO
pfilt(1), ra_ppm(1), ra_pr(1), ra_pr24(1), ra_t8(1), ra_t16(1), ra_tiff(1), ximage(1)
RADIANCE
3/25/04 RA_BMP(1)