06-04-2010
tr command with uname -n
Using the command :
echo $eup_terminal_code | tr -s 'mil vrn qcm' 'mci pql qcm'
it works,but this translation changes depending on the system.
I'd like to define the following variables ,one for each system :
mil22h_from='mil vrn frl'
mil22h_to='mci vci fci'
czhs0362_from='mil vrn flr'
czhs0362_to='mot vot fot'
I'd like to use a command like this :
echo $eup_terminal_code | tr -s uname-n_from uname -n_to
but it doesn't work.
tks in advance
9 More Discussions You Might Find Interesting
1. AIX
hi ,
i have made a mistake :( on the production enviourment by change tha host name .
after that i returned back the old name.
but i think this will not afeect the system until reboot the machine.
laso i tried to telnet the syetem by the host name not by the IP address and it works fine.
... (2 Replies)
Discussion started by: habuzahra
2 Replies
2. Linux
what is the difference between
uname -m and uname -i
what it actually means (2 Replies)
Discussion started by: Dileepsp
2 Replies
3. Shell Programming and Scripting
Hi guys,
I am trying to do a ssh for performing a set of actions.
Find it below:
I need to put the user/ kernel/ DISTRO variables before I complete this operation.
what I observed is when ever I put a `command` in those quotes, it performs thta action in local system rather than remote one.... (5 Replies)
Discussion started by: jbmukund
5 Replies
4. UNIX for Advanced & Expert Users
Hi all,
on my linux i typed uname -a which gave me
Linux dell.domain.net 2.6.13-1.1526_FC4smp #1 SMP Wed Sep 28 19:30:04 EDT 2005 i686 i686 i386 GNU/Linux
I was checking kernel version i also didnt know what linux i have...
So if i undersood this correctly , i have fedora core 4 ?
Also ,... (3 Replies)
Discussion started by: ttoni
3 Replies
5. Solaris
Am new to solaris can anyone explain the fields in the below command. Also let me know the difference between nodename and hostname. Here osnask2 is the hostname and type SUNOS. What abt the remaining fields.?
#uname -a
SunOS osnska2 5.8 Generic_117350-47 sun4u sparc SUNW,Sun-Fire-480R (1 Reply)
Discussion started by: rogerben
1 Replies
6. UNIX for Advanced & Expert Users
Hi ! All
I'm big fan of Unix/Linux . I want understand the basics of linux/unix version and How they are related to Vendor ... releases.
uname -a will give the OS details. But can somebody provide me a pointer , to understand the very BASICS of these terminology like
Million Thanks.!!! (2 Replies)
Discussion started by: dashok.83
2 Replies
7. Solaris
hi all,
Operating System Name : Unix Sun Solaris
Operating system release level : 5.10
Operating system version : Generic_137111-06
i know the release level that is kernel version
Generic_137111-06 what is number... (6 Replies)
Discussion started by: coxmanchester
6 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Can anyone let me know the -n option in uname command in unix?
Gone through the man pages of uname, but unable to interpret.
Thanks in advance. (1 Reply)
Discussion started by: venkatesht
1 Replies
9. Solaris
bssmsrv223:/ 53 ] uname -a
SunOS bssmsrv223 5.10 Generic_118833-36 sun4u sparc SUNW,Sun-Fire-V245
bssmsrv223:/ 54 ]
what does 118833-36 denotes in Generic_118833-36 (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies
LEARN ABOUT DEBIAN
mfontset_lookup
mfontset_lookup(3m17n) The m17n Library mfontset_lookup(3m17n)
NAME
mfontset_lookup - Lookup a fontset.
SYNOPSIS
MPlist * mfontset_lookup (MFontset * fontset, MSymbol script, MSymbol language, MSymbol charset)
DESCRIPTION
Lookup a fontset. The mfontset_lookup() function lookups fontset and returns a plist that describes the contents of fontset corresponding
to the specified script, language, and charset.
If script is Mt, keys of the returned plist are script name symbols for which some fonts are specified and values are NULL.
If script is a script name symbol, the returned plist is decided by language.
o If language is Mt, keys of the plist are language name symbols for which some fonts are specified and values are NULL. A key may be Mt
which means some fallback fonts are specified for the script.
o If language is a language name symbol, the plist is a FONT-GROUP for the specified script and language. FONT-GROUP is a plist whose keys
are FLT (FontLayoutTable) name symbols (Mt if no FLT is associated with the font) and values are pointers to MFont.
o If language is Mnil, the plist is fallback FONT-GROUP for the script.
If script is Mnil, the returned plist is decided as below.
o If charset is Mt, keys of the returned plist are charset name symbols for which some fonts are specified and values are NULL.
o If charset is a charset name symbol, the plist is a FONT-GROUP for the charset.
o If charset is Mnil, the plist is a fallback FONT-GROUP.
RETURN VALUE
It returns a plist describing the contents of a fontset. The plist should be freed by m17n_object_unref().
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 mfontset_lookup(3m17n)