10-16-2009
Unix- filters ppt
Hello..
i want a ppt on unix filters..
can anybody gv me d link 4 that??
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Anyone know where I can find good documentation for IPF on the Internet?
Thanks,
Chuck (1 Reply)
Discussion started by: 98_1LE
1 Replies
2. UNIX for Dummies Questions & Answers
I encountered some complicated problems course studies.
take this for example:
under /home/data/stockdata
we have 1999,2000,2001,.......2004 these sub-dirs
and, each sub-dir has its mothly(for Jan~Dec) transaction records,
i.e. they are all named "foo.txt", like this:
Date ... (2 Replies)
Discussion started by: virii
2 Replies
3. UNIX for Dummies Questions & Answers
how to filter one particular row from one text file and copy it in another? (1 Reply)
Discussion started by: rajanandhini
1 Replies
4. UNIX for Dummies Questions & Answers
what is a filter ? explain any five filters in unix (1 Reply)
Discussion started by: jobym
1 Replies
5. UNIX for Dummies Questions & Answers
Hi
I am a newbie to Unix . I am just trying to understand the difference between various filters for ps. Can someoen pelase explain me whta is the difference between using /usr/bin/ps -ef | grep <PID> or <Process name> and /usr/bin/ps -auxwww| grep <PID> or <Process Name>. (1 Reply)
Discussion started by: sillybirdie123
1 Replies
6. UNIX for Dummies Questions & Answers
Hey all, I need a command line that creates a new file named whatever, say stuff.txt in the current working directory which contains the number of directories in the current working directory, followed by the number of empty files in the current working directory, followed by the name of the... (2 Replies)
Discussion started by: corpsegrinder
2 Replies
7. Shell Programming and Scripting
Hi,
I have input data.
9214919702; B5; 1;20070216;
9231590437; BY; 1;20070215;9;20091022;12;20091022;
9211765888; AZ; 1;20080802;1;20080802;14;20091027;
9231592590; BY; 1;20070215;9;20091026;9;20091026;
9252412219; MM; 1;20070217;
9214917135; MM; 1;20070215;
9214917056; B5; 1;20070215;... (8 Replies)
Discussion started by: suresh3566
8 Replies
8. Programming
I have a value X, a value DX and an odd integer N (say N=9) and want to create an array such that
let X = 10, DX = 2 and N = 9
DIST(1) = X - 4 * DX
DIST(2) = X - 3 * DX
DIST(3) = X - 2 * DX
DIST(4) = X - DX
DIST(5) = X
DIST(6) = X + DX
DIST(7) = X + 2 * DX
DIST(8) = X + 3 * DX
DIST(9)... (2 Replies)
Discussion started by: kristinu
2 Replies
9. Web Development
Hi All,
We have one client.for this client some jobs got scheduled. Those jobs will run daily/weekly/Monthly. But once it runs it will generate some log files with date and Timestamp. In log folder it contains the complete logs of that particular job.
By end of every month we are going to take... (0 Replies)
Discussion started by: vasuvv
0 Replies
LEARN ABOUT DEBIAN
sql::translator::filter::names
SQL::Translator::Filter::Names(3pm) User Contributed Perl Documentation SQL::Translator::Filter::Names(3pm)
NAME
SQL::Translator::Filter::Names - Tweak the names of schema objects.
SYNOPSIS
#! /usr/bin/perl -w
use SQL::Translator;
# Lowercase all table names and upper case the first letter of all field
# names. (MySql style!)
#
my $sqlt = SQL::Translator->new(
filename => @ARGV,
from => 'MySQL',
to => 'MySQL',
filters => [
Names => {
'tables' => 'lc',
'fields' => 'ucfirst',
},
],
) || die "SQLFairy error : ".SQL::Translator->error;
print($sqlt->translate) || die "SQLFairy error : ".$sqlt->error;
DESCRIPTION
SEE ALSO
perl(1), SQL::Translator
BUGS
TODO
Name Groups
Define a bunch of useful groups to run the name filters over. e.g. all, fkeys, pkeys etc.
More Functions
e.g. camelcase, titlecase, single word etc. Also a way to pass in a regexp.
May also want a way to pass in arguments for the func e.g. prefix.
Multiple Filters on the same name (filter order)?
Do we actually need this, you could just run lots of filters. Would make adding func args to the interface easier.
filters => [
[ 'Names', { all => 'lc' } ],
[ 'Names', {
tables => 'lc',
fields => 'ucfirst',
} ],
],
Mind you if you could give the filter a list this wouldn't be a problem!
filters => [
[ 'Names',
all => 'lc'
fields => 'ucfirst',
],
],
Which is nice. Might have to change the calling conventions for filters. Would also provide an order to run the filters in rather than
having to hard code it into the filter it's self.
AUTHOR
perl v5.14.2 2012-01-18 SQL::Translator::Filter::Names(3pm)