GRUB-MKFONT(3) Library Functions Manual GRUB-MKFONT(3)NAME
grub-mkfont -- Convert common font file formats into the PF2 format.
SYNOPSIS
grub-mkfont [--ascii-bitmaps] [-a | --force-autohint]
[-b | --bold] [-c | --asce=NUM] [-d | --desc=NUM]
[-i | --index=NUM] [-n | --name=NAME] [--no-bitmap]
[--no-hinting] <-o | --output=FILE>
[-r | --range=FROM-TO[,FROM-TO]] [-s | --size=SIZE]
[-v | --verbose] [--width-spec] FONT_FILES
DESCRIPTION
grub-mkfont converts font files from common formats into the PF2 format used by GRUB.
OPTIONS --ascii-bitmaps
Save only bitmaps for ASCII characters.
--force-autohint
Force generation of automatic hinting.
--bold Convert font to bold.
--asce=NUM
Set font ascent to NUM.
--desc=NUM
Set font descent to NUM.
--index=NUM
Select face index NUM.
--name=NAME
Set font family to NAME.
--no-bitmap
Ignore bitmap strikes when loading.
--no-hinting
Disable hinting.
--output=FILE
Save ouptut to FILE. This argument is required.
--range=FROM-TO,FROM-TO
Set the font ranges to each pair of FROM,TO.
--size=SIZE
Set font size to SIZE.
--verbose
Print verbose messages.
--width-spec
Create a width summary file.
FONT_FILES
The input files to be converted.
SEE ALSO
info grub
Wed Feb 26 2014 GRUB-MKFONT(3)
Check Out this Related Man Page
GRUB-FSTEST(3) Library Functions Manual GRUB-FSTEST(3)NAME
grub-fstest -- Debug tool for GRUB's filesystem driver.
SYNOPSIS
grub-fstest [-c | --diskcount=NUM] [-C | --crypto]
[-d | --debug=STRING] [-K | --zfs-key=FILE|prompt]
[-n | --length=NUM] [-r | --root=DEVICE_NAME]
[-s | --skip=NUM] [-u | --uncompress] [-v | --verbose]
IMAGE_PATH <blocklist FILE | cat FILE |
cmp FILE LOCAL | cp FILE LOCAL | crc FILE |
hex FILE | ls PATH | xnu_uuid DEVICE>
DESCRIPTION
grub-fstest is a tool for testing GRUB's filesystem drivers. You should not normally need to run this program.
OPTIONS --diskcount=NUM
Specify the number of input files.
--crypto
Mount cryptographic devices.
--debug=STRING
Set debug environment variable.
--zfs-key=FILE|prompt
Load ZFS cryptographic key.
--length=NUM
Handle NUM bytes in output file.
--root=DEVICE_NAME
Set root device.
--skip=NUM
Skip NUM bytes from output file.
--uncompress
Uncompress data.
--verbose
Print verbose messages.
COMMANDS
blocklist FILE
Display block list of FILE.
cat FILE
Display FILE on standard output.
cmp FILE LOCAL
Compare FILE with local file LOCAL.
cp FILE LOCAL
Copy FILE to local file LOCAL.
crc FILE
Display the CRC-32 checksum of FILE.
hex FILE
Display contents of FILE in hexidecimal.
ls PATH
List files at PATH.
xnu_uuid DEVICE
Display the XNU UUID of DEVICE.
SEE ALSO
info grub
Wed Feb 26 2014 GRUB-FSTEST(3)
if anyone knows how to do the loop and the function listed, please let me know it would be a great help. Thanks!
•Create an array NUM with the following ten values in it:
14, 25.6, 43, 22, 412.14, 819, 2, 721, 7.218, 11.9
•Print the array NUM
•Create an array COLOR with the following... (1 Reply)
Here is my initiating code:
#define NUM 20
static struct tab {
int count;
int use;
} tab;
int curtab = 0;
int tab_create(int tab_count)
{
curtab++;
tab.use = 1;
tab.count = tab_count;
kprintf("here!");
return curtab;
} (2 Replies)
Dear All,
We have following code to send mails from unix to users. We want to see few sentences of mail in bold font or to hightlight few lines in different colours. Could you please let me know how can we do it in function construct_body.
... (3 Replies)
Hi,
I wanna format the output in find to be like this :
NUM SIZE TYPE NAME
1 942080 DIR ./a/b/CaChE.xyz
2 888832 FIC ./a/b/core.1234
3 389120 FIC ./a/b/core.12
4 229376 FIC ./xxx/xyz.bak.cache
I don't know if its possible.
For... (1 Reply)
Hi All,
I have the below file:
sample.cfg
----------
SYS_TEST TEST1 TEST2
and I have set the blow:
NUM=1
I am running the command:
awk -v numb=`expr $NUM + 1` '/SYS_TEST/ {print \$numb}' sample.cfg
The output is TEST2 as expected. BUt I am unable to assign this output to a... (4 Replies)
Hi,
echo $i
until ||
do
read NUM
if && ; then
printf "$FBOLD\nInvalid number, please enter valid backup number: $FREG"
fi
done
Getting below error :
./import_location.sh: line 234: [: : integer expression expected
./import_location.sh: line 234: [: :... (5 Replies)
I have a following problem:
#!/bin/bash
NUM=`cat accounts | wc -l`;
for i in {1..$NUM}
do
account=`awk "NR==$i" accounts`;
echo -e "\nAccount: $account\n";
sudo ./backup_maildir $account;
done "accounts" is a file with regular e-mail addresses, one in each line.... (2 Replies)
If i have a macro called NUM which is "8" (string) for example
How do I make it into say "7", well i just want to lower it by one, also there will never be the case where its "0" and i have to decrease it.
there is no guarantee how many digits NUM could have, but will always be an integer.
How... (6 Replies)
Please help me.
1)I have a file "test.txt" with below content
1546
2346
8765
2380
2)I have a variable called "NUM".
number variable is assigned with 5674
NUM=5674
3) How to subtract the first record with NUM variable?
I tried below but its below awk command but its showing 0 as... (3 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 a variable say NUM="9.126.145.110"
I need to get the output as 9,126,145,110
I tried with sed command as sed s/\./,/ $NUM
But it didnt work
Please help..:confused: (6 Replies)