10-30-2008
hey buddy, it working perfectly, but as soon as an operator enters correct option, the script should come out of loop, instead of that it continues to ask for option except when operator enters "Q".
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
we have two alpha stations which are connected on two sides on the same wan (64k leased line), here is one problem described as follow.
when i do a ftp to copy a file form one to another, an error mesg shown and the file lenth is 0 at last.
diamond> ftp 192.168.50.1
Connected to... (1 Reply)
Discussion started by: royxiao
1 Replies
2. UNIX for Dummies Questions & Answers
hi all
The following error msg was displayed in the sco server 5.0.5. can anybody explain what it is?
"WATCHDOG REINITMEMORY 6 FOR BOARD"
replies appreciated.
raguram R (3 Replies)
Discussion started by: raguramtgr
3 Replies
3. HP-UX
Sometimes, for any reason, the UX System sends messages to /var/mail/root and/or to Error Log of the guardian.
I'll appreciating if you help me to configure so that those messages are also sent to the System Administrator's e-mail address.
Regards
Gege (1 Reply)
Discussion started by: cgege
1 Replies
4. Linux
mit@mydomain.com
here is the latest error message:
There was a problem logging onto your mail server. Your Password was rejected. Account: 'mit@mydomain.com', Server: 'mail.mit.com', Protocol: POP3, Server Response: '-ERR Logon failure: unknown user name or bad password.', Port: 110,... (2 Replies)
Discussion started by: naik_mit
2 Replies
5. Shell Programming and Scripting
Hi all,
I was hoping someone can point me in the right direction. I'm trying to filter out errors from a web log- any lines with ERROR in it. I know I could simply use the grep command to do this. However, there are times when a stack trace follows the error line. I would like to capture these... (2 Replies)
Discussion started by: gswhoops
2 Replies
6. Shell Programming and Scripting
Hi All,
I have an expression as follows:-
a=`expr ${i} + ${j}` >> $log_file 2>&1
Here, if any of the values i or j or both happens to be empty then the "expr" returns error as
"expr: 0402-050 Syntax error." My problem is I am not able to re-direct this error to the log file. Its is getting... (4 Replies)
Discussion started by: rony_daniel
4 Replies
7. UNIX for Dummies Questions & Answers
Hello ,
i have a problem in writing the shell script..
i have a script already written n just need to make a change in which when the script is not able to connect to the database ..it should print an error msg on the screen.
I have already seen previous posts on how to connect to the... (3 Replies)
Discussion started by: sommer_queen
3 Replies
8. Programming
Hi,
i am working in C in Fedora Eclipse 3.3.0 with gdb debugger. I am geting segmentation fault with an error message "mi_cmd_var_create: unable to create variable object" on debugging the program.
What should I do to solve this problem?
rgds,
Dona_m (14 Replies)
Discussion started by: dona_m
14 Replies
9. Solaris
required Solaris 5.10 Kernel patch 137111-03
required Solaris 5.10 Fibre Channel Device Driver patch 125184-08
I want to know about the descriptions and what the patches will do. I searched www.sun.com (patches/updates) but don't see I am looking for. (1 Reply)
Discussion started by: Y4Net
1 Replies
10. AIX
When i run errpt -a, the output was below:
---------------------------------------------------------------------------
LABEL: DMPCHK_NOSPACE
IDENTIFIER: F89FB899
Date/Time: Tue Jan 17 15:00:02 BEIS
Sequence Number: 28998
Machine Id: 0058C0CE4C00
Node Id: ... (2 Replies)
Discussion started by: Ivanku
2 Replies
LEARN ABOUT PHP
locale_get_display_region
LOCALE_GET_DISPLAY_REGION(3) 1 LOCALE_GET_DISPLAY_REGION(3)
Locale::getDisplayRegion - Returns an appropriately localized display name for region of the input locale
Object oriented style
SYNOPSIS
publicstatic string Locale::getDisplayRegion (string $locale, [string $in_locale])
DESCRIPTION
Procedural style
string locale_get_display_region (string $locale, [string $in_locale])
Returns an appropriately localized display name for region of the input locale. If is NULL then the default locale is used.
PARAMETERS
o $locale
- The locale to return a display region for.
o $in_locale
- Optional format locale to use to display the region name
RETURN VALUES
display name of the region for the $locale in the format appropriate for $in_locale.
EXAMPLES
Example #1
locale_get_display_region(3) example
<?php
echo locale_get_display_region('sl-Latn-IT-nedis', 'en');
echo ";
";
echo locale_get_display_region('sl-Latn-IT-nedis', 'fr');
echo ";
";
echo locale_get_display_region('sl-Latn-IT-nedis', 'de');
?>
Example #2
OO example
<?php
echo Locale::getDisplayRegion('sl-Latn-IT-nedis', 'en');
echo ";
";
echo Locale::getDisplayRegion('sl-Latn-IT-nedis', 'fr');
echo ";
";
echo Locale::getDisplayRegion('sl-Latn-IT-nedis', 'de');
?>
The above example will output:
Italy;
Italie;
Italien
SEE ALSO
locale_get_display_name(3), locale_get_display_language(3), locale_get_display_script(3), locale_get_display_variant(3).
PHP Documentation Group LOCALE_GET_DISPLAY_REGION(3)