Sponsored Content
Top Forums Shell Programming and Scripting Alternative Scripting Language for UNIX/Linux System Administration Post 302498254 by drl on Sunday 20th of February 2011 07:17:23 PM
Old 02-20-2011
Hi.
Quote:
To apply the Unix philosophy effectively, you'll need more than
just C in your toolkit. You'll need to learn how to use some of
Unix's other languages (especially the scripting languages), and
how to be comfortable mixing multiple languages in specialist
roles within large program systems.

The Art of UNIX Programming, Raymond, 2004, page 322
Best wishes ... cheers, drl
This User Gave Thanks to drl For This Post:
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

System Administration

I have been working with UNIX (HP-UX) now for a couple of years. Have become quite capable in shell scripting and general UNIX use. The local university offers a certification course in UNIX administration which I am considering taking. However, the certification is geared toward UNIX in general... (13 Replies)
Discussion started by: google
13 Replies

2. Linux

can C language received information from Linux/Unix

Hi ! Can C -langauge interface with Unix/Linux? Currently i have written a application for SMS using C programing. I would like to know if i am able to receive information from Unix/Linux so that it can activate the application. (5 Replies)
Discussion started by: JOHNSON
5 Replies

3. Shell Programming and Scripting

Scripting language for system admin

Am trying to learn a scripting language to automate mundane system admin tasks. Being a Novice, Just trying to understand, which language would be easier to learn and one for all types. i.e Perl or Shell scripting. Which of these would be good for a system admin, Database admin ?? pls. post... (2 Replies)
Discussion started by: Crazy_murli
2 Replies

4. UNIX for Dummies Questions & Answers

Suggestion: Alternative OS for Windows - Totally Clueless on Unix/Linux OS

Can anyone tell me a good alternative to Windows? OS that can connect to a Windows domain and use for everyday (can use with Oracle). Easy to learn. (4 Replies)
Discussion started by: genesisX
4 Replies

5. UNIX for Dummies Questions & Answers

Information about Unix System Administration

I'm a newbie so I'm not sure if I'm posting this in the right section... if I didn't, please forgive me :) I've been looking all over the web for information on system administration. I'd like to become a Unix System Administrator but I want to find some more info about the job. Can someone please... (54 Replies)
Discussion started by: hpicracing
54 Replies

6. UNIX for Dummies Questions & Answers

How does unix system administration, unix programming, unix network programming differ?

How does unix system administration, unix programming, unix network programming differ? Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies

7. UNIX for Dummies Questions & Answers

What are the career options in unix apart from unix system administration?

What are the career options in unix apart from unix system administration? (2 Replies)
Discussion started by: thulasidharan2k
2 Replies

8. Shell Programming and Scripting

Learning project ideas - shell, python, UNIX tools, system administration

Hi guys, I am currently working as a system administration engineer, administering telecom applications on linux/unix platforms. I want to learn new things and improve the ones that i have and for this i though to really work on some project or something but i lack of ideas. I want to be... (2 Replies)
Discussion started by: capitanui
2 Replies

9. UNIX for Dummies Questions & Answers

Best scripting language for Aix/unix

Hi everyone , Can anyone tell me which is the Best scripting language for Aix/unix and why. Thanks N K Chand (1 Reply)
Discussion started by: nkchand
1 Replies
Preferred(3pm)						User Contributed Perl Documentation					    Preferred(3pm)

NAME
Lingua::Preferred - Perl extension to choose a language SYNOPSIS
use Lingua::Preferred qw(which_lang acceptable_lang); my @wanted = qw(en de fr it de_CH); my @available = qw(fr it de); my $which = which_lang(@wanted, @available); print "language $which is the best of those available "; foreach (qw(en_US fr nl de_DE)) { print "language $_ is acceptable " if acceptable_lang(@wanted, $_); } DESCRIPTION
Often human-readable information is available in more than one language. Which should you use? This module provides a way for the user to specify possible languages in order of preference, and then to pick the best language of those available. Different 'dialects' given by the 'territory' part of the language specifier (such as en, en_GB, and en_US) are also supported. The routine "which_lang()" picks the best language from a list of alternatives. The arguments are: o a reference to a list of preferred languages (first is best). Here, a language is a string like 'en' or 'fr_CA'. ('fr_*' can also be given - see below.) 'C' (named for the Unix 'C' locale) matches any language. o a reference to non-empty list of available languages. Here, a language can be like 'en', 'en_CA', or "undef" meaning 'unknown'. The return code is which language to use. This will always be an element of the available languages list. The cleverness of this module (if you can call it that) comes from inferring implicit language preferences based on the explicit list passed in. For example, if you say that en is acceptable, then en_IE and en_DK will presumably be acceptable too (but not as good as just plain en). If you give your language as en_US, then en is almost as good, with the other dialects of en following soon afterwards. If there is a tie between two choices, as when two dialects of the same language are available and neither is explicitly preferred, or when none of the available languages appears in the user's list, then the choice appearing earlier in the available list is preferred. Sometimes, the automatic inferring of related dialects is not what you want, because a language dialect may be very different to the 'main' language, for example Swiss German or some forms of English. For this case, the special form 'XX_*' is available. If you dislike Mexican Spanish (as a completely arbitrary example), then "[ 'es', 'es_*', 'es_MX' ]" would rank this dialect below any other dialect of es (but still acceptable). You don't have to explicitly list every other dialect of Spanish before es_MX. So for example, supposing @avail contains the languages available: o You know English and prefer US English: $which = which_lang([ 'en_US' ], @avail); o You know English and German, German/Germany is preferred: $which = which_lang([ 'en', 'de_DE' ], @avail); o You know English and German, but preferably not Swiss German: $which = which_lang([ 'en', 'de', 'de_*', 'de_CH' ], @avail); Here any dialect of German (eg de_DE, de_AT) is preferable to de_CH. Whereas "which_lang()" picks the best language from a list of alternatives, "acceptable_lang()" answers whether a single language is included (explicitly or implicitly) in the list of wanted languages. It adds the implicit dialects in the same way. AUTHOR
Ed Avis, ed@membled.com SEE ALSO
perl(1). perl v5.8.8 2005-10-17 Preferred(3pm)
All times are GMT -4. The time now is 06:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy