Is there an easy method to do an on the fly conversion of a standard epoch time (seconds from 1970) to more readable date format?
Does Unix have anything built in to do this? (4 Replies)
Hell friends,
I wrote a script gets the summation of particular column using awk.
The awk output is given in scientific notation. How do I convert the scientific notation to normal.
My awk syntax : awk '{sum += $2} END { printf sum }' temprep.txt
Out put is like 1.5365e+07
I want it as... (2 Replies)
Hi guys,
I know that this topic has been discuss numerous times, and I have search the net and this forum for it.
However, non able to address the problem I faced so far.
I am on Solaris Platform and unable to install additional packages like the GNU date and gawk to make use of their... (5 Replies)
I have a list of interfaces and time the interface was last active. I can't figure out how to convert the time in the second column,
Fa1/14 0
Se0/0/0 0
Fa1/11 0
Fa1/9 0
Fa1/0 0
Se0/0/1 1240401408
Gi1/0 0
Fa0/0 1240401408
Fa1/3 0
Fa1/8 0
Fa1/15 0
Fa1/13 0
Fa1/10 0
Fa1/1 0
Fa1/12... (7 Replies)
Hi,
Is there any easy way to convert date time(stored in shell variable ) to epoch time in solaris box? As +%s is working on linux but not on solaris, also -d option is not working.
Any suggestion please? (6 Replies)
Hello All -
I have a script that grabs data from the net and outputs the following data
46029 46.144 -124.510 2010 07 26 22 50 320 4.0 6.0 2.2 9 6.8 311 1012.1 -0.9 13.3 13.5 13.3 - -
46041 47.353 -124.731 2010 07 26 22 50 250 2.0 3.0 1.6 8 6.4 - 1011.6 - ... (0 Replies)
Dear experts,
I have an epoch time input file such as : -
1302451209564
1302483698948
1302485231072
1302490805383
1302519244700
1302492787481
1302505299145
1302506557022
1302532112140
1302501033105
1302511536485
1302512669550
I need the epoch time above to be converted into real... (4 Replies)
Hi All,
I have the following time stamp data in 2 columns
Date TimeStamp(also with milliseconds)
05/23/2012 08:30:11.250
05/23/2012 08:30:15.500
05/23/2012 08:31.15.500
.
.
etc
From this data I need the following output.
0.00( row1-row1 in seconds)
04.25( row2-row1 in... (5 Replies)
Hi guys thanks for the help for my previous posts.Now i have a requirement that i download a XMl file which has UTC time stamp.I need to convert UTC time into Unix server timezone.
For ex if the time zone of unix server is CDT then i need to convert into CDT.whatever may be the system time... (5 Replies)
Discussion started by: mohanalakshmi
5 Replies
LEARN ABOUT CENTOS
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)