02-20-2002
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I know nothing of unix and didn't know where to start. I've heard of a DOS to Unix translator, and since I know DOS pretty well, I thought that this program would be perfect. Any help you could give me would be appreciated.
Bryan (1 Reply)
Discussion started by: bferguson
1 Replies
2. UNIX for Advanced & Expert Users
I was chatting with my teacher on how this could be a great tool for admins who are making the switch from GUI to CLI administration. I'm wondering, does this kind of tool exist? (4 Replies)
Discussion started by: Daemon-Killer
4 Replies
3. Programming
Any One help how to draw the flow chart for C programe ?
If any usefull link's. (1 Reply)
Discussion started by: sabari
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, newbie (non-techie) here.
I'm a business analyst for a software company in the Bay Area. A
project I just got assigned to involved researching for an enterprise
version of a XML translator that will run on UNIX. I'm looking for
something that won't be too costly to purchase as the... (4 Replies)
Discussion started by: Antsy
4 Replies
5. UNIX for Dummies Questions & Answers
Does there exist a unix program which takes as input a word (say in french) and returns its translation into another language (say english)?
Alternative questions:
1) Where is an appropriate place to post such a question?
2) Where is a good place to find interesting unix programs? (2 Replies)
Discussion started by: dmbster
2 Replies
6. Shell Programming and Scripting
hello, this is my first time here so i´m not sure if i´m posting in the rigth place.
i very bad on programming but i´ve a to submit a shell code in high school.
i need a shell script that translate words (english-portuguese and portuguese-english) using the comand wget and google translator.
... (1 Reply)
Discussion started by: cajuzinho
1 Replies
7. UNIX for Dummies Questions & Answers
I apologize if this has been posted before but I have been doing a lot of searching and I have not found any real answers, this is quite possibly due to that I may not be searching for the right terms or something. Little bit of info about my situation is that I'm a newbie as you probably guessed... (1 Reply)
Discussion started by: ummSomeNameHere
1 Replies
8. Shell Programming and Scripting
Hi,
Does anyone know of any permission bit "translator"? One that can translate the permission bit from its textual value to its octal value and vice versa. It is alright if it is always just rwx but on a lot of occasions nowadays, getting a lots of s, S, t, etc.
-rwxrwxrwx 1 oracle dba... (4 Replies)
Discussion started by: newbie_01
4 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)