hi, I m stuck at a point for more than 3days. My doubt is pretty simple..
I have a web page content in $content. ( got this by using LWP)..
Now I want to display the content matching a pattern.
I tried
if($content =~ m{<div class="abc">(.*?)</div>}s){
print $1;}
that will... (4 Replies)
Hi,
I have two files say xxx.txt and yyy.txt. xxx.txt is with list of patterns within double quotes. Eg.
"this is the line1"
"this is the line2"
The yyy.txt with lot of lines. eg:
"This is a test message which contains rubbish information just to fill the page which is of no use. this is... (3 Replies)
*****************************************
Right now i have this current system.
I have two files say xxx.txt and yyy.txt. xxx.txt is with list of patterns within double quotes. Eg.
"this is the line1"
"this is the line2"
The yyy.txt with lot of lines. eg:
"This is a test message which... (7 Replies)
Hi,
I have got the below requirement. please suggest.
I have a file like,
Processing Item is:
/data/ing/cfg2/abc.txt
/data/ing/cfg3/bgc.txt
Processing Item is:
/data/cmd/for2/ght.txt
/data/kernal/config.klgt.txt
I want to process the above file to get the output file like,
... (5 Replies)
Hi ,
I have a file where i have modifed certain things compared to original file . The difference of the original file and modified file is as follows.
# diff mir_lex.c.modified mir_lex.c.orig
3209c3209
< if(yy_current_buffer -> yy_is_our_buffer == 0) {
---
>... (5 Replies)
Hi I need to grep for a patter and display all lines below the pattern.
For ex: say my file has the below lines
file1
file2
file3
file4
file5
I NEED to grep for patter file3 and display all lines below the pattern. do we have an option to get this data. Let me know if you require... (5 Replies)
Hi All,
I am trying to fetch lines before a pattern, I got to know about -B flag in grep but we have to pass the number to get those lines before some pattern say (X), now what if I want to get line/s with some other pattern say (Y) before X pattern? How to get about it? please help.
Input:... (5 Replies)
Hi all!
Thanks for taking the time to view this!
I want to grep out all lines of a file that starts with pattern 1 but also does not match with the second pattern.
Example:
Drink a soda
Eat a banana
Eat multiple bananas
Drink an apple juice
Eat an apple
Eat multiple apples
I... (8 Replies)
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)
I have this fileA
TEST FILE ABC
this file contains ABC;
TEST FILE DGHT this file contains DGHT;
TEST FILE 123
this file contains ABC,
this file contains DEF,
this file contains XYZ,
this file contains KLM
;
I want to have a fileZ that has only (begin search pattern for will be... (2 Replies)
Discussion started by: vbabz
2 Replies
LEARN ABOUT HPUX
cachefslog
cachefslog(1M)cachefslog(1M)NAME
cachefslog - Cache File System logging
SYNOPSIS
logfile| cachefs_mount_point
DESCRIPTION
The command is used to enable or disable logging for a cachefs_mount_point. When the command is used without any options, it displays the
logfile. The logfile contains information on the operation performed on a cachefs_mount_point and statistics used by to get the working
set size of cache directory. The specified logfile will contain information for all the CacheFS mount points using the same cache direc-
tory. A logfile and a cache directory have a 1-to-1 mapping; that is, even if a cache directory is removed and recreated with the same
name, the logfile used in the previous instance of the cache directory cannot be reused with the new cache directory.
Enabling logging may have performance impact, even if minimal, on the operations for all the CacheFS mount points using the same cache
directory. The command is mainly used for debugging purposes.
Options
The following options are supported. You must be a superuser to use the and options.
Specify the logfile to be used.
Halt logging.
Operands
cachefs_mount_point
A mount point of a cache file system.
RETURN VALUE
returns the following values:
Success.
non-zero An error occurred.
EXAMPLES
1. Checking the logging of a directory.
This example checks if the CacheFS file system is being logged:
2. Changing the logfile.
This example changes the logfile of to
3. Verifying the change of a logfile.
This example verifies the change of the previous example:
4. Halting the logging of a directory.
This example halts logging for the directory:
AUTHOR
was developed by Sun Microsystems, Inc.
SEE ALSO cachefsstat(1M), cachefswssize(1M), cfsadmin(1M).
cachefslog(1M)