06-09-2006
Hi Jim !
Thanks alot...
Please tell me if you have any links for Shell Script beginer's
Regards
Sandeep
Last edited by sandeep_hi; 06-09-2006 at 09:45 AM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
ok so I'm having major issues trying to figure this out:
I have this program that I'm inputting the files in hte current directory which are image files...it spits out 5 line chunks describing the files...
filename: (name of file)
size: (100 x 200)
arbitrary data
arbitrary data
arbitrary... (4 Replies)
Discussion started by: Infraredskies
4 Replies
2. Shell Programming and Scripting
Hi,
What is the command for sorting files according to their size
Thanx in advance (4 Replies)
Discussion started by: sendhil
4 Replies
3. Shell Programming and Scripting
I am currently attempting to create a file which I access from an oracle form.
At the minute I do a host command and run an ls -l e.g.
/bin/ls -l /dir/dir/dir/ > /tmp/list.txt
I then read this file within my oracle form. However I want the user to be able to restrict, sort and filter the... (2 Replies)
Discussion started by: dave_angel
2 Replies
4. UNIX for Dummies Questions & Answers
I am new to shell scripting
can u guys please provide a small script for the following senario
step1:need to find some files in a directory for ex having 020908
step2:sort them and redirecting to new file
(ex:sort abc > abc.sort)
i am trying this but giveing flag error
ls -l... (4 Replies)
Discussion started by: cgreddy2020
4 Replies
5. Shell Programming and Scripting
hi
i have file like below:
col1,col2,col3,col4
val1,val2,val3,val4
abc1,abc2,abc3,abc4
this is a 4 column file with 3 rows.
i want to sort the file like.. first on col1, then on col2 and so ..on..
i want the sort order to be descending.
Pls help..
Thnks
Sumit (2 Replies)
Discussion started by: sumit207
2 Replies
6. UNIX for Dummies Questions & Answers
hi everybody, first time writing.
Here's my question:
I've got several files in different directories like this:
aa/t1
aa/bb/t2
aa/t2
aa/bb/cc/t1
aa/t3
and would like to get this sorting:
aa/t1
aa/bb/cc/t1
aa/t2
aa/bb/t2
aa/t3 (1 Reply)
Discussion started by: Camisa
1 Replies
7. UNIX for Dummies Questions & Answers
find / -type f 2> /dev/null | find -inum +1 2> /dev/null | find -mtime -30 2> /dev/null
what i am trying to do i search all regular files in root directory with one or more
inodes modified within last 30 days.
the /dev/null is to suppress the permission denied outputs.
i am now trying to... (5 Replies)
Discussion started by: iluvsushi
5 Replies
8. Shell Programming and Scripting
i have file a
123
234
456
567
678
and file b
123|xxx|hhh|ppp or zzz
234|rrr|ttt|xxx
432|ttt|mmm|nnn
678|cft|byt|mop
i want to compare file a to file b such that when each of the lines in file a can be found in file b column1 and also xxx or hhh or ppp or zzz can be... (12 Replies)
Discussion started by: blackzinga80
12 Replies
9. Shell Programming and Scripting
I have the following set of files and I want to order them according to the ascending values of the run:
For example, doing
ls -lrt *drw*.log
gives
n02-z30-sr65-rgdt0p25-dc0p08-4x3drw.log
n02-z30-sr65-rgdt0p25-dc0p03-8x6drw.log
n02-z30-sr65-rgdt0p25-dc0p01-8x6drw.log
... (18 Replies)
Discussion started by: kristinu
18 Replies
10. Shell Programming and Scripting
Dear all,
I have a complex data file shown below,,,,,
A_ABCD_13208 0 0 4.16735 141044 902449 1293900 168919
C_ABCD_13208 0 0 4.16735 141044 902449 1293900 168919
A_ABCDEF715 52410.9 18598.2 10611 10754.7 122535 252426 36631.4
C_DBCDI_1353 0... (19 Replies)
Discussion started by: AAWT
19 Replies
LEARN ABOUT CENTOS
locale::codes::script
Locale::Codes::Script(3) User Contributed Perl Documentation Locale::Codes::Script(3)
NAME
Locale::Codes::Script - standard codes for script identification
SYNOPSIS
use Locale::Codes::Script;
$script = code2script('phnx'); # 'Phoenician'
$code = script2code('Phoenician'); # 'Phnx'
$code = script2code('Phoenician',
LOCALE_CODE_NUMERIC); # 115
@codes = all_script_codes();
@scripts = all_script_names();
DESCRIPTION
The "Locale::Codes::Script" module provides access to standards codes used for identifying scripts, such as those defined in ISO 15924.
Most of the routines take an optional additional argument which specifies the code set to use. If not specified, the default ISO 15924
four-letter codes will be used.
SUPPORTED CODE SETS
There are several different code sets you can use for identifying scripts. A code set may be specified using either a name, or a constant
that is automatically exported by this module.
For example, the two are equivalent:
$script = code2script('phnx','alpha');
$script = code2script('phnx',LOCALE_SCRIPT_ALPHA);
The codesets currently supported are:
alpha, LOCALE_SCRIPT_ALPHA
This is a set of four-letter (capitalized) codes from ISO 15924 such as 'Phnx' for Phoenician. It also includes additions to this set
included in the IANA language registry.
The Zxxx, Zyyy, and Zzzz codes are not used.
This is the default code set.
num, LOCALE_SCRIPT_NUMERIC
This is a set of three-digit numeric codes from ISO 15924 such as 115 for Phoenician.
ROUTINES
code2script ( CODE [,CODESET] )
script2code ( NAME [,CODESET] )
script_code2code ( CODE ,CODESET ,CODESET2 )
all_script_codes ( [CODESET] )
all_script_names ( [CODESET] )
Locale::Codes::Script::rename_script ( CODE ,NEW_NAME [,CODESET] )
Locale::Codes::Script::add_script ( CODE ,NAME [,CODESET] )
Locale::Codes::Script::delete_script ( CODE [,CODESET] )
Locale::Codes::Script::add_script_alias ( NAME ,NEW_NAME )
Locale::Codes::Script::delete_script_alias ( NAME )
Locale::Codes::Script::rename_script_code ( CODE ,NEW_CODE [,CODESET] )
Locale::Codes::Script::add_script_code_alias ( CODE ,NEW_CODE [,CODESET] )
Locale::Codes::Script::delete_script_code_alias ( CODE [,CODESET] )
These routines are all documented in the Locale::Codes::API man page.
SEE ALSO
Locale::Codes
The Locale-Codes distribution.
Locale::Codes::API
The list of functions supported by this module.
http://www.unicode.org/iso15924/
Home page for ISO 15924.
http://www.iana.org/assignments/language-subtag-registry
The IANA language subtag registry.
AUTHOR
See Locale::Codes for full author history.
Currently maintained by Sullivan Beck (sbeck@cpan.org).
COPYRIGHT
Copyright (c) 1997-2001 Canon Research Centre Europe (CRE).
Copyright (c) 2001-2010 Neil Bowers
Copyright (c) 2010-2013 Sullivan Beck
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.16.3 2013-02-27 Locale::Codes::Script(3)