04-19-2011
Awesome. I'm curious, could you get the same deal working for the files your searching in instead of the files your searching for?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a string which contains following information:
<SZ.T><P ALIGN="CENTER"><FONT FACE="Arial, Helvetica, sans-serif" SIZE="+3">Bundesregierung nimmt sich dicke Deutsche vor</FONT></P></SZ.T>
<SZ.UT><P ALIGN="CENTER"><FONT SIZE="+1"><I> Seehofer und Schmidt planen Kampagne gegen... (3 Replies)
Discussion started by: trek
3 Replies
2. Shell Programming and Scripting
I have some files in unix
ls -1
TMH.backend.tar.421E-03.Z
TMH.backend.tar.421E-04.Z
TMH.backend.tar.421E-05.Z
TMH.backend.tar.421E-06.Z
TMH.backend.tar.421E-07.Z
TMH.backend.tar.421E-08.Z
TMH.backend.tar.421E-08.Z.bak20081223164844
TMH.backend.tar.421E-09.Z... (1 Reply)
Discussion started by: on9west
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I need to find out the files whcih contains date in YYYYMMDD in their name.
I don't know if I can use regex in side find.
Now I am using commad for the same purpose which is not full proof.
find . -name "**" -print
But I want then It should contain at lease 8 digit in their... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies
4. Shell Programming and Scripting
Hi There,
Can anybody help me out for searching this regular expression?
xxxxx.yyy.zzzz.From-ABCD.To-XYZ.xxxxxx
I would like the ID1 and ID2 (knowing which one is Id1 and id2)
.From-<ID1>.
and
.To-<ID2>.
Thanks in advance!!
Regards,
Bhaskar (4 Replies)
Discussion started by: bhaskar_m
4 Replies
5. Shell Programming and Scripting
hi ,
how do i remove # from a line where i found regex..
don't need to remove all the line.. only remove comment.. (3 Replies)
Discussion started by: Poki
3 Replies
6. Shell Programming and Scripting
Hello,
I want to check if directories exist with a regex expression
dir1=/temp/local/*/home (exists on file system)
dir2=/temp/server/*/logs (does not exist on file system)
I want to check if there are any directories with the above regex
Code:
if ];then
echo "Directory... (4 Replies)
Discussion started by: gogineni
4 Replies
7. UNIX for Dummies Questions & Answers
I don't understand why the following simple command is not working:
find assign{1,2}Variations don't work, either:
find assign+
find assign?
ls assignAll I am trying to do is make an alias for running a C++ program of the name assign# or assign##. But the regular expressions aren't working. @_@... (27 Replies)
Discussion started by: Zucriy Amsuna
27 Replies
8. Shell Programming and Scripting
I'm trying to use regular expression arguments as variables. I have to surround the regular expression with double quotes or else it automatically expands that regular expression to whatever is in that directory.
Unfortunately when I run 'find' it further surrounds the double quotes with single... (6 Replies)
Discussion started by: stevensw
6 Replies
9. Shell Programming and Scripting
#ls json-*
json-lexer.c json-lexer.h json-parser.c json-parser.h json-streamer.c json-streamer.h
#find . -regex '^(json-)+.'
return nothing (3 Replies)
Discussion started by: yanglei_fage
3 Replies
10. UNIX for Dummies Questions & Answers
Hi All,
We have to copy some files from a source directory to a destination directory. We only have to copy the file if the filename is in a list of values.
We can use find command:
find . -type f -name '*_111.txt' -o -name '*_115.txt' ... -exec cp {} /tmp \;
But the list contains... (3 Replies)
Discussion started by: bartleby
3 Replies
LEARN ABOUT REDHAT
tftopl
TFTOPL(1) General Commands Manual TFTOPL(1)
NAME
tftopl - convert TeX font metric (tfm) files to property lists
SYNOPSIS
tftopl [ -charcode-format=format ] [ -verbose ] tfm_name[.tfm] [ pl_name[.pl] ]
DESCRIPTION
This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual
Web2C: A TeX implementation.
The tftopl program translates a (program-oriented) font metric file to a (human-oriented) property list file. Thus, you can edit the con-
tents of the TFM files, if the font designer has not done his or her job properly, or if you're encountering strange difficulties, or if
you're just curious. It also serves as a TFM-file validating program, i.e., if no error messages are given, the input file is correct.
The pl_name is extended with .pl if it lacks a suffix. If pl_name is not given, standard output is used. Likewise, tfm_name is extended
with .tfm if it lacks a suffix. Also, path searching is done for the .tfm file using the environment variable TEXFONTS. If that is not
set, tftopl uses the system default.
See tex(1) for the details of the searching.
OPTIONS
The argument format to -charcode-format specifies how character codes are output in the PL file. By default, only letters and digits are
output using the C integer code (i.e., in ASCII); the others are output in octal. (Unless the font's coding scheme starts with TeX math sy
or TeX math ex, in which case all character codes are output in octal.) If format is ascii, all character codes that correspond to graphic
characters, besides the left and right parentheses, are output in ASCII. Finally, if format is octal, all character codes are output in
octal.
Without the -verbose option, tftopl operates silently. With it, a banner and progress report are printed on stdout.
SEE ALSO
pltotf(1),
Donald E. Knuth, TeXware.
Donald E. Knuth, The Metafontbook (Volume C of Computers and Typesetting), Addison-Wesley, 1986, ISBN 0-201-13445-4.
AUTHORS
Donald E. Knuth wrote the program. It was published as part of the TeXware technical report, available from the TeX Users Group. Howard
Trickey and Pavel Curtis originally ported it to Unix.
Web2C 7.3.1 17 December 1994 TFTOPL(1)