Change the font of text in output file in shell scipt
hi,
I want to change the font of text in output file.
I tried the below code
code:
i can see colors in terminal but not in output file
please help me how i can get colors text in output file.
Moderator's Comments:
edit by bakunin: Please use CODe-tags when posting code or terminal output to enhance readability. With so many posts under your belt you could know that already.
Last edited by bakunin; 05-18-2011 at 02:48 AM..
Reason: code taqgs
Hi Gurus,
I have a small requirement where i want to change the color & font of some text in a file.
i have a file error.txt which will be created in the script using egrep.
After that iam adding these lines at head & tail to that file using the following code
awk 'BEGIN{print"Please... (4 Replies)
Hi there,
I am trying to write a shell script as root on AIX 5.3 where I change user to db2inst1, connect to our db2 database, run a sql select query and export the result of the query to a file.
The code I have so far is as follows:-
#!/usr/bin/ksh
su - db2inst1 -c "db2 connect to... (0 Replies)
how to make a line BLINKING in output and also how to increase font size in output
suppose in run a.sh script
inside echo "hello world "
i want that this should blink in the output and also
the font size of hello world should be big ..
could you please help me out in this (3 Replies)
Can any help me to change the default font type and its size..
To clear more about my question..
Once i login to my unix domain... the font it displaying is of small size...
all my shell commands i am executing in $ prompt also carries the same style(ls, date and echo...)
i searched whole... (2 Replies)
Hi,
I have one file which needs to be mailed through sendmail.
I am using the following command to send this file to end users.
But before sending how can I change the font of the input file to "Courier New" as the mail content was not in proper format if it is any other font.
printf... (1 Reply)
Hi,
I have the output (as below) which i want it to be in a table.
For e.g.
space utilization in PSE on path /logs is 0%
space utilization in PSE on path /logs/tuxedo/tuxlsp is 16%
space utilization in PSE on path /ldvarlsp/lsp/log is 37%
space utilization in PSE on path /home is 6%... (7 Replies)
hi I want to write a script, while using the SED editor, to output the text, in this case a variable, to the result file but highlighted it in bold, is it possible to do that? can you tell me how?
eg. in text.txt
sed '$ a\
'$variable'
' <text.txt >text2.txt
so it will add the... (2 Replies)
Hi,
i have here found a very good texteditor source code programmed in the MOTIF GUI language.
For myself i need NOTHING else to program.
To start from a very easy point of view i want to RUN this editor on my LINUX machine and type simple C code.
The reason for this post is that the text... (7 Replies)
Discussion started by: Sennenmut
7 Replies
LEARN ABOUT DEBIAN
fontimage
FONTIMAGE(1) General Commands Manual FONTIMAGE(1)NAME
fontimage - produce a font thumbnail image
SYNOPSIS
fontimage [--help] [--width num] [--height num] [--pixelsize num] [--text string] [--o outputfile] [--usage] [--version] fontfile
DESCRIPTION
The program fontimage loads a font, which may be in any format fontforge(1) can read, and then produces an image showing representative
glyphs of the font.
OPTIONS --help Provide a description with a list of the available options.
--width num
Specifies the width of the output image. If this is omitted the image will be as wide as necessary to display the text.
--height num
Specifies the height of the output image. If this is omitted the image will be as high as necessary to display the text.
--pixelsize num
Specifies the pixelsize used to display the text. This argument may be specified multiple times and each refers to any --text lines
that follow it.
--text string
Specifies a line of text to be displayed. The string must be in UTF-8. This argument may be specified multiple times to provide
several lines of text. If no --text arguments are supplied fontimage will examine the font, looking for various scripts it knows
about, and will try to display something appropriate for each.
-o outfile
Specifies the output filename for the image. The type of image will be determined by the file's extension. Currently only ".bmp" and
".png" are recognized. If omitted fontimage will choose an output name based on the font's fontname field.
--usage
Display the usage description.
--version
Display the current version
SEE ALSO fontforge(1)
The HTML version of the fontforge manual at:
http://fontforge.sourceforge.net/
AUTHOR
Copyright (C) 2006 by George Williams (gww@silcom.com).
26 October 2006 FONTIMAGE(1)