Thanks, my problem was bigger than that. I didn't know how to even scan the muck of information that was inside the .html file. But a day later, I thought why not try the unix "cat" command and boom, it gave me the muck of what I was after. Then I pawed through on how to do it in perl and then finally the stuff you're talking about.
I went with
To get the external links, but I see your code has some value too, which I will be taking a look at. Thanks for your help!
Dear perl gurus,
I plan to create a script that will scan through a logfile line by line.
And if ever a certain line meets the below conditions, it will alert me via email.
-->
a) Position 10 to 13 = "ABCD"
b) And also if the amount specified in position 620-640 is less than the amount in... (1 Reply)
Hi Perl gurus,
I have this file to scan through. Sample lines below:
2008031A, USERNAME, 12345, give ABC, take XYZ, transaction submitted
2008031B, USERNAME, 12346, waiting for processing
2008031C, USERNAME, 12347, Retrieving response
2008031D, USERNAME, 12348, This is not a valid dealing... (3 Replies)
The script should
_scan a specific directory
_If a file name is like one provided, then run the command to send the file via CFT
The name should be picked from a list. The current list is :
... (11 Replies)
The $ seems to fail for me. I'm using GNU grep 2.5.4 (that is, nothing out of the ordinary, just what came with my distro) but I can't get the final anchor $ to work for me. (^ works as usual.)
Behavior without anchor:
$ /bin/grep -E 'tium' file
tritium
tertium quid
Expected behavior:
$... (2 Replies)
Hi Does anybody knows about the simple certificate enrollment protocol details ?
if yes please provide me the details.
And what is a trust anchor profile ?
Thanks in advance. (0 Replies)
Hi All,
I have some HTML files and my requirement is to extract all the anchor text words from the HTML files along with their URLs and store the result in a separate text file separated by space. For example, <a href="/kid/stay_healthy/">Staying Healthy</a>
which has /kid/stay_healthy/ as... (3 Replies)
i want to scan all open and closed ports on a server. how can i do this.
i intend on using nmap, but if there are better ways to do it, please let me know.
i understand there are a total of 6335 allowable ports on a server.
so out of that 6335, i want to know which is open or closed. id... (1 Reply)
Hello, All
I learned from book about word anchor "\<" and "\>"; however when I tested them, they seem to work only in grep.
Can anyone suggest word anchor that can be used in grep, awk, perl ...? (3 Replies)
Discussion started by: littlewenwen
3 Replies
LEARN ABOUT POSIX
fc-cat
FC-CAT(1)FC-CAT(1)NAME
fc-cat - read font information cache files
SYNOPSIS
fc-cat [ -rvVh ] [ --recurse ] [ --verbose ] [ --version ] [ --help ]
[ [ fonts-cache-%version%-files ] [ dirs ] ... ]
DESCRIPTION
fc-cat reads the font information from cache files or related to font directories and emits it in ASCII form.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-r Recurse into subdirectories.
-v Be verbose.
-h Show summary of options.
-V Show version of the program and exit.
SEE ALSO fc-cache(1)fc-list(1)fc-match(1)fc-pattern(1)fc-query(1)fc-scan(1)
The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.
AUTHOR
This manual page was written by Patrick Lam <plam@mit.edu>.
Aug 13, 2008 FC-CAT(1)