Thanks , franklin you method worked, i knew i had to use a while loop and getline in there just didnt know the proper order :)
Hi everyone, im trying to make the following command line shorter by introducing a script that join up all the grep commands
./new1a < numbers.txt | grep -i -v '^a '... (5 Replies)
Hello All,
I have been asked to create a .htaccess redirect. I have never attempted to work with one of these files. We have a pretty vanilla LAMP setup using rhel4 apache1.3 and php4.2.3.
I was instructed to place the .htaccess file in the document root of the site and and to attempt to... (1 Reply)
Hi,
I hosted my site on Apache web server.
I wanted to redirect all the users request to a HTML page(maintenance page).
I used the below rewrite rule to do ths same.
RewriteEngine on
RewriteRule .* /maintenance.html
The maintenance.html page contains an image.
When ever I try to... (2 Replies)
Hi All,
I want to redirect from http://localhost/abc/xyz/def?cc=dk&lc=da
to http://localhost/abc/mnc/pdf?cc=dk&lc=da.
Please suggest a rewrite rule. (0 Replies)
Hello All,
I have code as follows :-
while true do
{opening a case1 statement}
1)
{opening another case2 statement}
{closing case 2}
2)
Showing error for "2)" as Syntax error at line 59 : `)' is not expected.
*)
{closing case 1}
... (5 Replies)
hi there, I need that when user input
mysite.com/ponuka/AAA2869
it shows
mysite.com/ukaz.php?ponuka=AAA2869
because of facebook likes, and I found out that this is set up as rewrite rule in .htaccess file? how to achieve it?
thank you... :confused:
---------- Post updated at 04:47... (0 Replies)
Hi all,
I am trying to find a rewrite rule that can help me with the following situation.
So I am currently on a page which has a URL:
http://www.test.mobile.com/#!/shop/phones/max-plus/features/
Now when I hover over a certain link, I can see that it will goto:
<a... (0 Replies)
Hi,
I've got a folder with several files I'd like to manipulate. The file names are all ending in .txt and I'd like to loop through their names for manipulation. This is the script I've got so far:
for i in 'ls *.gtc.txt|cut -d "." -f1';
do
echo${i};
done
It should be easy enough, but... (2 Replies)
Discussion started by: zajtat
2 Replies
LEARN ABOUT DEBIAN
fc-query
FC-QUERY(1)FC-QUERY(1)NAME
fc-query - query font files
SYNOPSIS
fc-query [ -Vh ]
[ -i index | --index index ] [ -f format | --format format ] [ --version ] [ --help ] font-file ...
DESCRIPTION
fc-query queries font-file(s) using the normal fontconfig rules and prints out font pattern for each face found. If --index is given, only
one face of each file is queried, otherwise all faces are queried.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-i --index index
Only query face indexed index of each file.
-f --format format
Format output according to the format specifier format.
-V --version
Show version of the program and exit.
-h --help
Show summary of options.
font-file
Query font-file for font faces.
RETURN CODES
fc-query returns error code 0 for successful parsing, or 1 if any errors occured or if at least one font face could not be opened.
SEE ALSO fc-scan(1)FcFreeTypeQuery(3)FcPatternFormat(3)fc-cat(1)fc-cache(1)fc-list(1)fc-match(1)fc-pattern(1)
The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.
AUTHOR
This manual page was updated by Behdad Esfahbod <behdad@behdad.org>.
16 April 2012 FC-QUERY(1)