Sponsored Content
Full Discussion: Help me in this script fast
Top Forums Shell Programming and Scripting Help me in this script fast Post 302768913 by Scrutinizer on Sunday 10th of February 2013 03:10:56 PM
Old 02-10-2013
Everyone at the UNIX and Linux Forums gives their best effort to reply to all questions in a timely manner. For this reason, posting questions with subjects like "Urgent!" or "Emergency" and demanding a fast reply are not permitted in the regular forums.

For members who want a higher visibility to their questions, we suggest you post in the Emergency UNIX and Linux Support Forum. This forum is given a higher priority than our regular forums.

Posting a new question in the Emergency UNIX and Linux Support Forum requires forum Bits. We monitor this forum to help people with emergencies, but we do not not guarantee response time or best answers. However, we will treat your post with a higher priority and give our best efforts to help you.

If you have posted a question in the regular forum with a subject "Urgent" "Emergency" or similar idea, we will, more-than-likely, close your thread and post this reply, redirecting you to the proper forum.

Of course, you can always post a descriptive subject text, remove words like "Urgent" etc. (from your subject and post) and post in the regular forums at any time.


Thank you.

The UNIX and Linux Forums
 

8 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Need help fast

I am trying to reset the IP address on a Unix HP box here in my office and I am stuck in this EM100 mode and cant issue any commands. Any help would be great. By the way I no zero about unix. Thanks (0 Replies)
Discussion started by: zx6ninja
0 Replies

2. UNIX for Dummies Questions & Answers

What's the fast way to delete these files?

Hi, I had this request from user which I completed by using rm for all these files but I am wondering if there was way to finish it faster rather going through one file at a time. Please check attached text file to see file names. Thanks! (4 Replies)
Discussion started by: tonyvirk
4 Replies

3. Solaris

what is that 1 in the instruction!~ (please help fast)

Hi all, make_lofs /.cdrom/<something>/<something> 1 what does this instruction mean? Note:both the "something" are obviously different . I would like to know what that 1 means, the rest of the instruction is clear!! Thanks (6 Replies)
Discussion started by: wrapster
6 Replies

4. Shell Programming and Scripting

Performing fast searching operations with a bash script

Hi, Here is a tough requirement , to be served by bash script. I want to perform 3,00,000 * 10,000 searches. i.e. I have 10,000 doc files and 3,00,000 html files in the file-system. I want to check, which of the doc files are referred in any html files. (ex- <a href="abc.doc">abc</a>)... (3 Replies)
Discussion started by: jitendriya.dash
3 Replies

5. Solaris

How do you ufsrestore the fast way?

hi, on my sol9 box i create my backup using the below command: /usr/sbin/ufsdump 0uf /dev/rmt/0n /u1 /usr/sbin/ufsdump 0uf /dev/rmt/0n /u2 /usr/sbin/ufsdump 0uf /dev/rmt/0n /u3 /usr/sbin/ufsdump 0uf /dev/rmt/0n /u4 now on the new sol10 box, to restore i use this commands: cd /u1... (3 Replies)
Discussion started by: pinoy43v3r
3 Replies

6. Shell Programming and Scripting

Expect script exiting too fast if used without interact.

Hi I'm working on an Expect script that is supposed to log-into a remote server and run some steps and exit. In the script I first spawn a 'ssh' session to the server and then after logging in I 'send' all the necessary steps ( with a '\r' at the end, so that they get automatically executed the... (3 Replies)
Discussion started by: clakkad
3 Replies

7. Shell Programming and Scripting

Small fast question

just to confirm du from sh show sizes as multiples of 512 byte right? (4 Replies)
Discussion started by: Nick1097
4 Replies

8. UNIX for Dummies Questions & Answers

fast sequence extraction

Hi everyone, I have a large text file containing DNA sequences in fasta format as follows: >someseq GAACTTGAGATCCGGGGAGCAGTGGATCTC CACCAGCGGCCAGAACTGGTGCACCTCCAG GCCAGCCTCGTCCTGCGTGTC >another seq GGCATTTTTGTGTAATTTTTGGCTGGATGAGGT GACATTTTCATTACTACCATTTTGGAGTACA >seq3450... (4 Replies)
Discussion started by: Fahmida
4 Replies
Geography::Countries(3) 				User Contributed Perl Documentation				   Geography::Countries(3)

NAME
Geography::Countries - 2-letter, 3-letter, and numerical codes for countries. SYNOPSIS
use Geography::Countries; $country = country 'DE'; # 'Germany' @list = country 666; # ('PM', 'SPM', 666, # 'Saint Pierre and Miquelon', 1) DESCRIPTION
This module maps country names, and their 2-letter, 3-letter and numerical codes, as defined by the ISO-3166 maintenance agency [1], and defined by the UNSD. The "country" subroutine. This subroutine is exported by default. It takes a 2-letter, 3-letter or numerical code, or a country name as argument. In scalar context, it will return the country name, in list context, it will return a list consisting of the 2-letter code, the 3-letter code, the numerical code, the country name, and a flag, which is explained below. Note that not all countries have all 3 codes; if a code is unknown, the undefined value is returned. There are 3 categories of countries. The largest category are the current countries. Then there is a small set of countries that no longer exist. The final set consists of areas consisting of multiple countries, like Africa. No 2-letter or 3-letter codes are available for the second two sets. (ISO 3166-3 [3] defines 4 letter codes for the set of countries that no longer exist, but the author of this module was unable to get her hands on that standard.) By default, "country" only returns countries from the first set, but this can be changed by giving "country" an optional second argument. The module optionally exports the constants "CNT_F_REGULAR", "CNT_F_OLD", "CNT_F_REGION" and "CNT_F_ANY". These constants can also be important all at once by using the tag ":FLAGS". "CNT_F_ANY" is just the binary or of the three other flags. The second argument of "country" should be the binary or of a subset of the flags "CNT_F_REGULAR", "CNT_F_OLD", and "CNT_F_REGION" - if no, or a false, second argument is given, "CNT_F_REGULAR" is assumed. If "CNT_F_REGULAR" is set, regular (current) countries will be returned; if "CNT_F_OLD" is set, old, no longer existing, countries will be returned, while "CNT_F_REGION" is used in case a region (not necessarely) a country might be returned. If "country" is used in list context, the fifth returned element is one of "CNT_F_REGULAR", "CNT_F_OLD" and "CNT_F_REGION", indicating whether the result is a regular country, an old country, or a region. In list context, "country" returns a 5 element list. To avoid having to remember which element is in which index, the constants "CNT_I_CODE2", "CNT_I_CODE3", "CNT_I_NUMCODE", "CNT_I_COUNTRY" and "CNT_I_FLAG" can be imported. Those constants contain the indices of the 2-letter code, the 3-letter code, the numerical code, the country, and the flag explained above, respectively. All index constants can be imported by using the ":INDICES" tag. The "code2", "code3", "numcode" and "countries" routines. All known 2-letter codes, 3-letter codes, numerical codes and country names can be returned by the routines "code2", "code3", "numcode" and "countries". None of these methods is exported by default; all need to be imported if one wants to use them. The tag ":LISTS" imports them all. In scalar context, the number of known codes or countries is returned. REFERENCES
The 2-letter codes come from the ISO 3166-1:1997 standard [2]. ISO 3166 bases its list of country names on the list of names published by the United Nations. This list is published by the Statistical Division of the United Nations [4]. The UNSD uses 3-letter codes, and numerical codes [5]. The information about old countries [6] and regions [7] also comes from the United Nations. In a few cases, there was a conflict between the way how the United Nations spelled a name, and how ISO 3166 spells it. In most cases, is was word order (for instance whether The republic of should preceed the name, or come after the name. A few cases had minor spelling variations. In all such cases, the method in which the UN spelled the name was choosen; ISO 3166 claims to take the names from the UN, so we consider the UN authoritative. [1] ISO Maintenance Agency (ISO 3166/MA) http://www.din.de/gremien/nas/nabd/iso3166ma/index.html. [2] Country codes, http://www.din.de/gremien/nas/nabd/iso3166ma/codlstp1.html, 7 September 1999. [3] ISO 3166-3, Code for formerly used country names. http://www.din.de/gremien/nas/nabd/iso3166ma/info_pt3.html. [4] United Nations, Statistics Division. http://www.un.org/Depts/unsd/statdiv.htm. [5] Country or area codes in alphabetical order. http://www.un.org/Depts/unsd/methods/m49alpha.htm, 26 August 1999. [6] Codes added or changed. http://www.un.org/Depts/unsd/methods/m49chang.htm, 26 August 1999. [7] Geographical regions. http://www.un.org/Depts/unsd/methods/m49regin.htm, 26 August 1999. BUGS
Looking up information using country names is far from perfect. Except for case and the amount of white space, the exact name as it appears on the list has to be given. USA will not return anything, but United States will. DEVELOPMENT
The current sources of this module are found on github, <git://github.com/Abigail/geography--countries.git>. AUTHOR
Abigail <mailto:geography-countries@abigail.be>. COPYRIGHT and LICENSE Copyright (C) 1999, 2009 by Abigail Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. perl v5.18.2 2009-04-13 Geography::Countries(3)
All times are GMT -4. The time now is 07:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy