I already have a script which does a similar function, but with a small difference. Rather than map each letter/number to a different letter/number, it cycles though the alphabet/digits.
Hi,
I have about 30 computers for users with subnet mask x.x.x.0, and 25 computers for workers with s.m. x.x.x.128. My server has a s.m. x.x.x.128 so with workers computers I can see my server and all the computers in that s.m., but I can't see the server from the users computers and I need to see... (7 Replies)
Hi,
Could any one help me to write a C program for password mask
with ******. I mean whatever word i will type that will show on the screen as ***** and should store the correct value in a variable.
Thanks in advance
Krishna (5 Replies)
hello everbody:
Im trying to give the user "ydarwish" a full access over some directory on my sol9 machine.
however the setfacl is recalculating the mask parameter keeping me from keeping him effective write and read access:
root@Obi-Wan> setfacl -m u:ydarwish:rwx /IN_ARCHIVE6
root@Obi-Wan>... (4 Replies)
HP-UX 11i v2. #!/bin/sh
Hi all.
I have a flat file like this with lines like this:
|07/19/07|08:26AM|1|CupsCoffee|CupsCo|989898989 |Doe, John Y |THE PLUS CARD - Price| | |Y| | 2.00|
I would like to replace the id number (field 6) with a masked... (3 Replies)
Hi All,
i am executing peoplesoft sqr command from unix prompt which has the unix id/password as parameter along with other parameters. i want to show whole command in log file but want to mask the id/password field. this command i am executing in shell script. Please suggest..
>sqr sqrname... (2 Replies)
Hi,
I have a file like following,
aaabb
aaavv
bbdddaaab
fgdgjhaa
bfd
12352aa
dgs1xaf
sdgsdyg4
How can i get the output below(mask off all the line that have "a") by using vim
#aaabb
#aaavv
#bbdddaaab
#fgdgjhaa
bfd
#12352aa (4 Replies)
Hi Experts,
I'm using samba -3.6.1 on Red Hat Enterprise Linux ES release 4 (Nahant Update 8) ,all seems ok. The issue im facing is as follows.
When ever a user creates a file via windows explorer the permissions assgined to the file are as follows
-rw-rwxr--+ 1 tom group2 0 Mar 9... (1 Reply)
Hi,
We have to mask the data that is coming from production environment to Non-production environment. The database is running in oracle platform.
If anybody has generic scripts to achive this task,it would be great if that can be shared with me?
Thank you,
Jayaprakash. (10 Replies)
Hi Guys,
can someone explain what is mask and effective right mask in setfacl and
getfacl command with example, unable to get it. (3 Replies)
Discussion started by: Jcpratap
3 Replies
LEARN ABOUT SUSE
locale::language
Locale::Language(3pm) Perl Programmers Reference Guide Locale::Language(3pm)NAME
Locale::Language - ISO two letter codes for language identification (ISO 639)
SYNOPSIS
use Locale::Language;
$lang = code2language('en'); # $lang gets 'English'
$code = language2code('French'); # $code gets 'fr'
@codes = all_language_codes();
@names = all_language_names();
DESCRIPTION
The "Locale::Language" module provides access to the ISO two-letter codes for identifying languages, as defined in ISO 639. You can either
access the codes via the "conversion routines" (described below), or via the two functions which return lists of all language codes or all
language names.
CONVERSION ROUTINES
There are two conversion routines: "code2language()" and "language2code()".
code2language()
This function takes a two letter language code and returns a string which contains the name of the language identified. If the code is
not a valid language code, as defined by ISO 639, then "undef" will be returned.
$lang = code2language($code);
language2code()
This function takes a language name and returns the corresponding two letter language code, if such exists. If the argument could not
be identified as a language name, then "undef" will be returned.
$code = language2code('French');
The case of the language name is not important. See the section "KNOWN BUGS AND LIMITATIONS" below.
QUERY ROUTINES
There are two function which can be used to obtain a list of all language codes, or all language names:
"all_language_codes()"
Returns a list of all two-letter language codes. The codes are guaranteed to be all lower-case, and not in any particular order.
"all_language_names()"
Returns a list of all language names for which there is a corresponding two-letter language code. The names are capitalised, and not
returned in any particular order.
EXAMPLES
The following example illustrates use of the "code2language()" function. The user is prompted for a language code, and then told the
corresponding language name:
$| = 1; # turn off buffering
print "Enter language code: ";
chop($code = <STDIN>);
$lang = code2language($code);
if (defined $lang)
{
print "$code = $lang
";
}
else
{
print "'$code' is not a valid language code!
";
}
KNOWN BUGS AND LIMITATIONS
o In the current implementation, all data is read in when the module is loaded, and then held in memory. A lazy implementation would be
more memory friendly.
o Currently just supports the two letter language codes - there are also three-letter codes, and numbers. Would these be of any use to
anyone?
SEE ALSO
Locale::Country
ISO codes for identification of country (ISO 3166). Supports 2-letter, 3-letter, and numeric country codes.
Locale::Script
ISO codes for identification of written scripts (ISO 15924).
Locale::Currency
ISO three letter codes for identification of currencies and funds (ISO 4217).
ISO 639:1988 (E/F)
Code for the representation of names of languages.
http://lcweb.loc.gov/standards/iso639-2/langhome.html
Home page for ISO 639-2.
AUTHOR
Neil Bowers <neil@bowers.com>
COPYRIGHT
Copyright (C) 2002-2004, Neil Bowers.
Copyright (c) 1997-2001 Canon Research Centre Europe (CRE).
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.12.1 2010-05-13 Locale::Language(3pm)