04-29-2012
Actually OP didn't use find. I did, to get list of directories containing files to be processed
9 More Discussions You Might Find Interesting
1. Programming
hi all,
can anyone tell me some good site for the mutithreading tutorials, its application, and some code examples.
-sushil (2 Replies)
Discussion started by: shushilmore
2 Replies
2. UNIX for Dummies Questions & Answers
i)wc -c/etc/passwd|awk'{print $1}'
ii)ls -al/etc/passwd|awk'{print $5}' (4 Replies)
Discussion started by: karthi_g
4 Replies
3. Programming
hello,
I have wrote a multi thread application to run under uclinux.
the problem is that threads does not share data. using the ps command it shows a single process for each thread.
I test the application under Ubuntu 8.04 and Open Suse 10.3 with 2.6 kernel and there were no problems and also... (8 Replies)
Discussion started by: mrhosseini
8 Replies
4. Shell Programming and Scripting
I have a unix directory where a million of small text files getting accumulated every week.
As of now there is a shell batch program in place which merges all the files in this directory into a single file and ftp to other system.
Previously the volume of the files would be around 1 lakh... (2 Replies)
Discussion started by: vk39221
2 Replies
5. Shell Programming and Scripting
awk "/May 23, 2012 /,0" /var/tmp/datafile
the above command pulls out information in the datafile. the information it pulls is from the date specified to the end of the file.
now, how can i make this faster if the datafile is huge? even if it wasn't huge, i feel there's a better/faster way to... (8 Replies)
Discussion started by: SkySmart
8 Replies
6. Shell Programming and Scripting
Hi,
I have a large number of input files with two columns of numbers.
For example:
83 1453
99 3255
99 8482
99 7372
83 175
I only wish to retain lines where the numbers fullfil two requirements. E.g:
=83
1000<=<=2000
To do this I use the following... (10 Replies)
Discussion started by: s052866
10 Replies
7. Shell Programming and Scripting
Hi,
I have a problem where I need to make this input:
nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a
nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b
look like this output:
nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
Discussion started by: nricardo
4 Replies
8. Shell Programming and Scripting
I have the below command which is referring a large file and it is taking 3 hours to run. Can something be done to make this command faster.
awk -F ',' '{OFS=","}{ if ($13 == "9999") print $1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12 }' ${NLAP_TEMP}/hist1.out|sort -T ${NLAP_TEMP} |uniq>... (13 Replies)
Discussion started by: Peu Mukherjee
13 Replies
9. Shell Programming and Scripting
I have nginx web server logs with all requests that were made and I'm filtering them by date and time.
Each line has the following structure:
127.0.0.1 - xyz.com GET 123.ts HTTP/1.1 (200) 0.000 s 3182 CoreMedia/1.0.0.15F79 (iPhone; U; CPU OS 11_4 like Mac OS X; pt_br)
These text files are... (21 Replies)
Discussion started by: brenoasrm
21 Replies
LEARN ABOUT DEBIAN
extutils::xsbuilder::parsesource
XSBuilder::ParseSource(3pm) User Contributed Perl Documentation XSBuilder::ParseSource(3pm)
NAME
ExtUtils::XSBuilder::ParseSource - parse C source files
DESCRIPTION
For more information, see ExtUtils::XSBuilder
extent_parser (o)
Allows the user to call the Extent or Replace method of the parser to add new syntax rules. This is mainly useful to include expansions for
preprocessor macros.
preprocess (o)
Allows the user to preprocess the source before it is given to the parser. You may modify the source, which is given as first argument in
place.
include_dirs (o)
Returns a reference to the list of directories that should be searched for include files which contain the functions, structures, etc. to
be extracted.
Default: '.'
include_paths (o)
Returns a reference to a list of directories that are given as include directories to the C compiler. This is mainly used to strip these
directories from filenames to convert absolute paths to relative paths.
Default: empty list ("[]")
unwanted_includes (o)
Returns a reference to a list of include files that should not be processed.
Default: empty list ("[]")
sort_includes (o, include_list)
Passed an array ref of include files, it allows the user to define the sort order, so includes are processed correctly.
Default: return the passed array reference.
find_includes (o)
Returns a list of include files to be processed.
Default: search directories given by "include_dirs" for all files and build a list of include files. All files starting with a word matched
by "unwanted_includes" are not included in the list.
handle_define (o)
Passed a hash ref with the definition of a define, may modify it. Return false to discard it, return true to keep it.
Default: 1
handle_enum (o)
Passed a hash ref with the definition of a enum value, may modify it. Return false to discard it, return true to keep it.
Default: 1
handle_struct (o)
Passed a hash ref with the definition of a struct, may modify it. Return false to discard it, return true to keep it.
Default: 1
handle_function (o)
Passed a hash ref with the definition of a function, may modify it. Return false to discard it, return true to keep it.
Default: 1
handle_callback (o)
Passed a hash ref with the definition of a callback, may modify it. Return false to discard it, return true to keep it.
Default: 1
package (o)
Return package name for tables
Default: 'MY'
targetdir (o)
Return name of target directory where to write tables
Default: './xsbuilder/tables'
run
Call this class method to parse your source. Before you can do so you must provide a class that overrides the defaults in
ExtUtils::XSBuilder::ParseSource. After that you scan the source files with
MyClass -> run ;
perl v5.10.1 2005-08-22 XSBuilder::ParseSource(3pm)