I am wriitng a shell script to compare a date in `date +%Y%m%d%H%M` to the output of `cat /var/adm/messages.0 | grep Temp |grep "CPU Fans" | cut -f1-4,19 -d' '` which looks like
Dec 2 11:30:57 79
Dec 2 11:37:58 79
Dec 2 11:44:58 79
Dec 2 11:50:59 79
Dec 2 11:58:00 79
Dec 2... (1 Reply)
Hi,
Please find the attached scriplet and suggest me to fix the bug in this.
-----------------------------------
noofdirs=`ls *.tar | wc -l`
if ; then
let i=1
while ( $i <= $noofdirs ) ;
do
echo $i
mkdir $i
file1=`ls *.tar | head -1`
mv $file1 $i
i =... (2 Replies)
Hi All,
I have thefollowing files in the directory inbox/sat
ras.sat.trn.20090103.001902.00004358
ras.sat.trn.20090612.001903.00005339
ras.sat.trn.20090723.001902.00004358
The above file contains the date of the file creation. We just need to write a ksh shell script to check the... (5 Replies)
Hi,
I have a file which has the date in the last line in the example pasted along with the rates of the countries.
-- I want to compare the date in the last line of the file mentioned in the example below with the system date from Monday to Friday.
-- If system date is equal to the date... (2 Replies)
Hi,
I have written the following Pro*C program to get the difference between 2 dates.But when I am printing the value of the date difference,it is always showing 0.
#include<stdio.h>
#include<sqlca.h>
#include<oraca.h>
void main()
{
EXEC SQL BEGIN DECLARE SECTION;
int diff;
... (4 Replies)
Hi,
I am having difficulty to compare a string in a file against a date from a a table and print the latest date. Below are the values.
String in File : 2009-12-02 00:37:51
Value Table : 2010-01-10-02.00.49.294758
I have to compare both the values ( Ignore the Microsecond in the table... (5 Replies)
Hi All,
I want to generate quarter dates using awk or anything, by giving a dates as input
for example :
start_date=2010-01-01
end_date=2010-05-31
output should be:
start_date end_date qtr
2010-01-01 2010-03-31 1
2010-04-01 2010-05-31 2
Example 2:... (1 Reply)
Hi All,
I would need your help to compare dates in my script.
Say if I have the dates in a file I need to comapre these dates with yesterday's date and the dates which are older than yesterday needs to be displayed.
Example:
03/22/2012
03/24/2012
03/20/2012
03/21/2012
03/12/2012... (1 Reply)
I have a script called " passwd_status " which gives the passwd-s status of my servers.
the script output is like below
password status for A:
abc ks 10/05/115 1 30 ps
password status for B:
abc ks 09/25/115 1 30 ps
password status for C:
abc ks 10/10/115 1 30 ps
Now , i want to... (1 Reply)
Discussion started by: charanarjun
1 Replies
LEARN ABOUT DEBIAN
unibmp2hex
UNIBMP2HEX(1) General Commands Manual UNIBMP2HEX(1)NAME
unibmp2hex - Bitmap graphics file to GNU Unifont .hex file converter
SYNOPSIS
unibmp2hex [-phexpage] [-iinput_file] [-ooutput_file] [-w]
DESCRIPTION
unibmp2hex reads a bitmap produced by unihex2bmp before or after editing, and converts it back into a Unifont .hex format file. The graph-
ics file contains a block of 256 Unicode code points arranged in a 16 by 16 grid. Each code point appears in a 32 by 32 pixel grid. Char-
acters are either 16 rows by 8 columns, or 16 rows by 16 columns.
OPTIONS -ppagenum Specify that the code points will be assigned to the 256 block space pagenum in the .hex file. If not specified, unibmp2hex
will determine the appropriate block by reading the row and column headers. Note that "page" is not a standard Unicode term.
It refers to an output bitmap graphics page of 16 by 16 code points. If pagenum is greater than FF, the block resides above
the Unicode Basic Multilingual Plane. In that event, the .hex file will contain eight digit hexadecimal code points rather than
the Unifont standard of four hexadecimal code points.
-i Specify the input file. The default is stdin.
-o Specify the output file. The default is stdout.
-w Force all output .hex glyphs to be 16 pixels wide rather than dual width (8 or 16 pixels).
Sample usage:
unibmp2hex -imy_input_file.bmp -omy_output_file.hex
FILES
*.bmp or *.wbmp graphics files
SEE ALSO bdfimplode(1), hex2bdf(1), hex2bdf-split(1), hex2sfd(1), hexbraille(1), hexdraw(1), hexmerge(1), johab2ucs2(1), unicoverage(1), unidup(1),
unihex2bmp(1), unipagecount(1), uniunmask(1)AUTHOR
unibmp2hex was written by Paul Hardy.
LICENSE
unibmp2hex is Copyright (C) 2007, 2008 Paul Hardy, and is released under version 2 of the GNU General Public License, or (at your option) a
later version.
BUGS
No known real bugs exist, except that this software does not perform extensive error checking on its input files. If they're not in the
format of the original bitmapped output from unihex2bmp, all bets are off.
If the output file is for a "page" containing space code points and the bitmap file squares for those code points are not empty, unibmp2hex
preserve the graphics as they are drawn. They will be removed later using uniunmask, with spaces of the appropriate width from a substi-
tutes.hex file.
2007 Dec 31 UNIBMP2HEX(1)