Hi All,
I am using Korn Shell HP UNIX and i am writing my scripts with filename extension as ksh or sh ..
I want to know what is the difference if i am giving ksh and sh
Other thing when we execute the shell script either we make it as executable and run directly else we give '.' or 'sh'... (2 Replies)
Hi ,
I need your help to know the exact operation of this following code ..
cat file1 | ux2dos | tr -d ''>>file2
file1 contains only one line : "DTS-PO\SPECTRUM WO 56"
the data contains a META CHAR "\" .. look at the above line.
But , The file2 output contains :... (7 Replies)
:confused:
Hi All,
i am new to unix....so i am not sure whether i am asking the related question with our forum..
My question .....Can anyone explain me about the CGI script
is it something related to Unix or Linux or some other language.
Thanks in advance
Sha (1 Reply)
Hi,
I'm using Ksh and I'm seeing some of code in my programme as given below.
Could you please let me know whats is this meeaing ?
(I'm new to this unix)
grep "1034" /u/kkk/bin/temp5.lst|cut -c1-2 >/u/kkk/bin/temp6.lst
if
then
echo ""
... (2 Replies)
Hi All,
I have a file cleanlogs_imgp01_files which has the contents as follows,
cold_log|/opt/elf/cold_spool
get_orion_log|/opt/elf/logs
get_coldFiles_log|/opt/elf/logs
get_coldFiles_TuesToSat_log|/opt/elf/logs
get_coldFiles_MonToSat_log|/opt/elf/logs
And when i execute this, I get the... (1 Reply)
Hi,
I want to use the "SU" command in script it is asking me to enter the password manually.
pleas the say the syntax of su command in single line that includes username/password. :) (3 Replies)
Hi AM Using Unix Aix
Used
${CMD} 2> ${ERR}
Dont get what above statement works .
SCRIPT=`basename $0`
ERR=$PWD/$SCRIPT.err
DATE=`date +"%d/%m/%Y"`
CMD=2
${CMD} 2> ${ERR}
if
then
echo "SUCCESS"
else
echo "FAILURE"
fi (1 Reply)
what is the significance of %%.ksh in processname and %.ksh in processname_1 variable?
Why is it returning same value?How is it working?
processname=Testabc
export processname=${processname%%.ksh}
echo $processname #It is returning Testabc
export processname_1=${processname%.ksh}
echo... (2 Replies)
Discussion started by: vamsi.valiveti
2 Replies
LEARN ABOUT SUSE
sane-leo
sane-leo(5) SANE Scanner Access Now Easy sane-leo(5)NAME
sane-leo - SANE backend for LEO Technologies scanners
DESCRIPTION
The sane-leo library implements a SANE (Scanner Access Now Easy) backend that provides access to some LEO SCSI flatbed scanners. This back-
end should be considered beta-quality software! LEO scanners were also sold under the Across Technologies brand.
The scanners that should work with this backend are:
Vendor Model status
---------------------------------
Across FS-1130 tested
Leo S3 tested
The options the backend supports can either be selected through command line options to programs like scanimage or through GUI elements in
xscanimage or xsane.
If you have any strange behavior, please report to the backend maintainer or to the SANE mailing list.
Valid command line options and their syntax can be listed by using
scanimage --help -d leo
Scan Mode
--mode selects the basic mode of operation of the scanner valid choices are Black & White , Grayscale and Color The Black & White mode is
black and white only (1 bit). Grayscale will produce 256 levels of gray (8 bits). Color will produce a 24 bits color image.
--resolution
selects the resolution for a scan. The scanner can do all resolutions between 1 and 300, in increments of 1.
Geometry options
-l -t -x -y
control the scan area: -l sets the top left x coordinate, -t the top left y coordinate, -x selects the width and -y the height of
the scan area. All parameters are specified in millimeters by default.
Enhancement options
--custom-gamma
(grayscale and color mode only) allows the user to specify a gamma table (see the next 3 parameters).
--red-gamma-table
(color mode only) can be used to download a user defined gamma table for the red channel. The table must be 256 bytes long.
--green-gamma-table
(color mode only) can be used to download a user defined gamma table for the green channel. The table must be 256 bytes long.
--blue-gamma-table
(color mode only) can be used to download a user defined gamma table for the blue channel. The table must be 256 bytes long.
--halftone
(Black & White only) select the halftone mask to use. Possible values are Diamond , 8x8 Coarse Fatting , 8x8 Fine Fatting , 8x8
Bayer and 8x8 Vertical Line
--preview
requests a preview scan. The resolution used for that scan is 28 dpi and the scan area is the maximum allowed. The scan mode is user
selected. The default is "no".
CONFIGURATION FILE
The configuration file /etc/sane.d/leo.conf supports only one information: the device name to use (eg /dev/scanner).
FILES
/usr/lib64/sane/libsane-leo.a
The static library implementing this backend.
/usr/lib64/sane/libsane-leo.so
The shared library implementing this backend (present on systems that support dynamic loading).
ENVIRONMENT
SANE_DEBUG_LEO
If the library was compiled with debug support enabled, this environment variable controls the debug level for this backend. E.g., a
value of 128 requests all debug output to be printed. Smaller levels reduce verbosity.
LIMITATIONS
The windows TWAIN driver has many more options than this SANE backend. However they are only software adjustments. This backend only imple-
ments what the scanner can support.
BUGS
None known.
SEE ALSO sane-scsi(5), scanimage(1), xscanimage(1), xsane(1), sane(7)AUTHOR
The package is actively maintained by Frank Zago.
http://www.zago.net/sane/#leo
11 Jul 2008 sane-leo(5)