Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getinfo(1) [xfree86 man page]

GETINFO(1)						      General Commands Manual							GETINFO(1)

NAME
getinfo - get header information from a RADIANCE file SYNOPSIS
getinfo [ -d ][ file .. ] getinfo - DESCRIPTION
Getinfo reads the header of each RADIANCE file and writes it to the standard output. Octree and picture files are in a binary format, which makes it difficult to determine their content. Therefore, a few lines of text are placed at the beginning of each file by the RADI- ANCE program that creates it. The end of the header information and the start of the data is indicated by an empty line. The -d option can be used to print the dimensions of an octree or picture file instead. For an octree, getinfo -d prints the bounding cube (xmin ymin zmin size). For a picture, getinfo -d prints the y and x resolution (-Y yres +X xres). If no file is given, the standard input is read. The second form of getinfo with a hyphen simply removes the header and copies the body of the file from the standard input to the standard output. EXAMPLE
To print the header information from scene1.oct and scene2.hdr: getinfo scene1.oct scene2.hdr AUTHOR
Greg Ward SEE ALSO
oconv(1), pfilt(1), rhinfo(1), rpict(1), rvu(1) RADIANCE
1/15/99 GETINFO(1)

Check Out this Related Man Page

GETINFO(1)						      General Commands Manual							GETINFO(1)

NAME
getinfo - get header information from a RADIANCE file SYNOPSIS
getinfo [ -d ][ file .. ] getinfo - DESCRIPTION
Getinfo reads the header of each RADIANCE file and writes it to the standard output. Octree and picture files are in a binary format, which makes it difficult to determine their content. Therefore, a few lines of text are placed at the beginning of each file by the RADI- ANCE program that creates it. The end of the header information and the start of the data is indicated by an empty line. The -d option can be used to print the dimensions of an octree or picture file instead. For an octree, getinfo -d prints the bounding cube (xmin ymin zmin size). For a picture, getinfo -d prints the y and x resolution (-Y yres +X xres). If no file is given, the standard input is read. The second form of getinfo with a hyphen simply removes the header and copies the body of the file from the standard input to the standard output. EXAMPLE
To print the header information from scene1.oct and scene2.hdr: getinfo scene1.oct scene2.hdr AUTHOR
Greg Ward SEE ALSO
oconv(1), pfilt(1), rhinfo(1), rpict(1), rvu(1) RADIANCE
1/15/99 GETINFO(1)
Man Page

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help needed in invoking shell command in PHP

Hi all.. can u please let me know how to use the unix shell curl command in PHP scripting, sample of my code is given below, <?php $ch = shell_exec('curl -H "Content-type: application/json" -H "Accept: application/json" --data-binary '{"text" : "how to check the temperature?"}' -H... (5 Replies)
Discussion started by: vidhyaS
5 Replies

2. Shell Programming and Scripting

Why are my text files sometimes empty when I make a read to them?

My implementation: I have a script Caller.sh that runs in the background that continuously calls the following scripts: createtext.sh createtext2.sh createtext3.sh Each of these scripts does the following (but with different text file names): #! /bin/bash ... (1 Reply)
Discussion started by: etranman1
1 Replies

3. Shell Programming and Scripting

Bash script puts \r at the end of variable

I'm pretty new to bash scripts and I'm trying to work through some issues. Would appreciate any suggestions. I have a list of servers in a text file (I used the FQDN's), I assign the file name to a variable, I then use cat to read the list of file names and echo them to the screen. But when it... (2 Replies)
Discussion started by: westmoreland
2 Replies

4. Shell Programming and Scripting

OSX bash & expect

I have a script that must perform a 'sudo' operation on each of a number of hosts. I'm trying to get expect working so I only have to enter it once, and have run into a couple of issues. First, several examples suggest to use: /usr/bin/expect <<EOD spawn ssh -t $host /usr/bin/sudo -v... (7 Replies)
Discussion started by: jnojr
7 Replies

5. UNIX for Advanced & Expert Users

unable to understand the output of TRUSS command

Hi, I am trying to set ulimit for soft stack unlimited, but this is not taking effect, after tracing the ulimit -a unlimited command, the below output was generated, which i am unable to comprehend. Could any one help me with this? prcbap1-r10prod: truss -d ulimit -s unlimited Tue Dec 30... (2 Replies)
Discussion started by: NasirAbbasi
2 Replies

6. UNIX for Advanced & Expert Users

sed REGEX to print multiple occurrences of a pattern from a line

I have a line that I need to parse through and extract a pattern that occurs multiple times in it. Example line: getInfoCall: info received please proceed, getInfoCall: info received please proceed, getInfoCall: info received please proceed, getInfoCall: info received please proceed,... (4 Replies)
Discussion started by: Vidhyaprakash
4 Replies

7. Shell Programming and Scripting

Cgi script without password

Hi Friends, I am using a html (CGI) script which calls a shell script internally. Now, I want to change it with ssh (without password). Is it possible? cat maininfo.cgi #!/usr/bin/perl -w use Net::Telnet (); use CGI qw(:standard); use CGI::Carp qw(warningsToBrowser fatalsToBrowser);... (0 Replies)
Discussion started by: suresh3566
0 Replies

8. UNIX for Advanced & Expert Users

CGI script using ssh

Hi Friends, I am using a cgi script which calls a shell script internally. Now, I want to change it with ssh (without password). Can you please help? Code:cat maininfo.cgi #!/usr/bin/perl -w use Net::Telnet (); use CGI qw(:standard); use CGI::Carp qw(warningsToBrowser... (1 Reply)
Discussion started by: suresh3566
1 Replies

9. Shell Programming and Scripting

Using curl in bash script

Hello. I have pick up a script from internet to track errors from curl command. #!/bin/bash # URL_TO_TEST="http://www.xxxxxx.yyy" MY_VAR=curl_init("$URL_TO_TEST") ; curl_setopt($MY_VAR, CURLOPT_HEADER, 1); curl_setopt($MY_VAR, CURLOPT_RETURNTRANSFER, 1); curl_setopt($MY_VAR,... (2 Replies)
Discussion started by: jcdole
2 Replies

10. AIX

VI command not working

Hello all, I've got a production system that the DBA complained that the vi command was no longer working for the oracle service account for a particular instance. When I logged in as myself, I noticed that it wasn't working for my user either. When invoked, it just returns to the prompt with an... (21 Replies)
Discussion started by: ZekesGarage
21 Replies