12-12-2008
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I've been assigned the task of modifying a script which reads in names of tables from a list file, exports a 30 days worth of data from these tables, then deletes the table. The list file will now contain a table name and a number next to it indicating how many days to archive. I need... (1 Reply)
Discussion started by: MadHatter
1 Replies
2. Shell Programming and Scripting
Hi,
I have a shell script that has to taken inputs from a file say "Inputs". Now I take 2 inputs at a time. Suppose the Inputs file contains numbers like
2
3
4
5
Now I have a written a script for adding 2 numbers. When I run the script for first time 2 and 3 must be the inputs. When i run the... (4 Replies)
Discussion started by: sendhil
4 Replies
3. Shell Programming and Scripting
Hi,
I have a file called inputs. Now that file has the values like this:
1 2 3
Now In my script called 'get.sh' I do this :
exec < inputs
read a b c d
Now I know that there will not be any value in d. How can I check it. I need the exact condition for checking whether the variable has... (1 Reply)
Discussion started by: sendhilmani123
1 Replies
4. Shell Programming and Scripting
Hi,
I have a script that takes the contents of another file as inputs. Its assumed that there are 3 values in the input file that are seperated by '|'. I have to check in my script, whether the filed seperator used in the input file is '|' or not. If its not a '|' I have to print a error... (13 Replies)
Discussion started by: sendhilmani123
13 Replies
5. Shell Programming and Scripting
Hello,
I think its a sinple query but somehow i m stucked up here...
I am trying to enter n number of inputs from the user and write them in
an input file ie row wise...
I tried standard commands like
$echo "enter the inputs for the file"
$read var1 var2 var3 var4
test1 test2... (14 Replies)
Discussion started by: er_aparna
14 Replies
6. Shell Programming and Scripting
need a script that goes something like this
#!/usr/bin/bash
echo "input up to TEN values, separated by spaces"
read vari1 vari2 vari3 vari4 vari5 vari6 vari7 vari8 vari9 vari10
#set null variables to 9999 (somehow?)
#now echo all variables
echo $vari1 $vari2 $vari3 $vari4 $vari5 $vari6... (1 Reply)
Discussion started by: ajp7701
1 Replies
7. Programming
I was wondering if its possible to read mouse inputs using ioctl functions somehow ? If it is not too much of trouble can anyone write or even direct me to sample code of ioctl reading someother HID. (2 Replies)
Discussion started by: maverick_
2 Replies
8. Shell Programming and Scripting
I want a script that will prompt a user to enter 10 numbers and out put them into a file. This what I have so far, but isn't working. I'm guessing it's something easy I'm not seeing. Thanks for any help.
#!/usr/bin/ksh
echo "Enter 10 numbers"
for i in 1 2 3 4 5 6 7 8 9 10
do
read .... ... (8 Replies)
Discussion started by: AxlVanDamme
8 Replies
9. Shell Programming and Scripting
Hi,
Am trying to store the user inputs into a file, but the below code will store only the first line of the values. I need to store all the user input values which may contain one or more lines. Thanks in advance.
echo "please enter file names";
read name;
echo $name>/tmp/test (11 Replies)
Discussion started by: rogerben
11 Replies
10. Shell Programming and Scripting
I am trying to make an interactive script. Only problem my inputs are not read and correctly channeled.
Please help:
Here is my code
#!/bin/sh
PATHSCRIPT=/home/pp/tmp
#if ; then
# echo "Syntax : $0 input off lat sample"
# exit 1
# fi
echo "Choice of Graph"
echo "1 -- Type... (5 Replies)
Discussion started by: newkid.7955
5 Replies
ALE(1) ALE(1)
NAME
ale - a synthetic capture engine and renderer
SYNOPSIS
ale [OPTIONS] original-frame [supplemental-frames ...] output-file
ale [HELP OPTIONS]
ale --version
DESCRIPTION
ALE is a free software synthetic capture engine and renderer accepting, as input, a sequence of image frames, and producing, as output,
rendered images, registration data, and 3D models (currently experimental).
EXAMPLES
ale --hu
Print the help page on program usage.
ale 001.ppm 002.ppm 003.ppm out.ppm
Render output file out.ppm from inputs 001.ppm, 002.ppm, and 003.ppm.
ale --scale 2 001.ppm 002.ppm 003.ppm out.png
Render output file out.png at 2x scale.
ale --perturb-upper=0 --trans-load=a.t --projective frame*.png out.png
Render output file out.png from inputs frame*.png, using projective transformations as described in the file a.t.
ale --3dv 0 out.png --projective frame*.png null:
Render output file out.png from inputs frame*.png, using a 3D scene model to determine transformations.
ale --visp last:sinc*lanc:6 sf:0 out/ .jpg in/*.jpg null:
Render a video stream from files in/*.jpg to the directory out/, stabilizing to the first frame, with a lanczos-windowed sinc filter.
USAGE
ale is a wrapper script that calls the executable ale-bin after extracting exposure EXIF information from image files (when the exiftool
utility is available) and converting from raw formats (when the dcraw utility is available).
When ale-bin has been linked with ImageMagick, input and output files may be of any kind supported by ImageMagick. Otherwise, only PPM
files can be read and written by ale-bin.
OPTIONS
OPTIONS are summarized via built-in help pages (see HELP OPTIONS below). More detailed manuals describing options and internal algorithms
are available for certain versions of ALE. See SEE ALSO below for more details on other manuals.
HELP OPTIONS
A listing of available help options can be obtained by invoking ale --hu.
ENVIRONMENT
The wrapper script ale recognizes the following environment variables:
ALE_BIN
ALE executable to use.
DCRAW
dcraw raw extraction tool to use.
EXIF_UTILITY
EXIF extraction utility to use.
ALE_COUNT_THREADS
Displays statistics on thread counts when set to a non-zero value.
PAGER
Text pager to use (e.g., for displaying help pages).
SEE ALSO
More detailed manuals for certain versions of ALE are distributed with source packages, and may also be available from:
http://auricle.dyndns.org/ALE/manuals/
03/31/2009 ALE(1)