02-15-2009
Hi again,
1 last thing
I know in perl the 1st field of an array is [0], is this different in awk?
Or did I miss something?
You have [1] as the 1st array. Im just trying to learn more.
thx
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I a file with log entries... I want to sort it so that the last line in the file is first and the first line is last..
eg.
Sample file
1
h
a
f
8
6
After sort should look like
6
8
f
a
h
1 (11 Replies)
Discussion started by: frustrated1
11 Replies
2. Shell Programming and Scripting
dear all
i want to read 5th no of line from last line of file.
kindly suggest me possible ways.
rgds
jaydeep (2 Replies)
Discussion started by: jaydeep_sadaria
2 Replies
3. Shell Programming and Scripting
Hi,
I have a requirement where i need to write a script to create the new file from the given input file with the data in reverse order (bottom to top)
Sample data:
Input File--------------
Java
VB
Oracle
Teradata
Informatica
Output file:-----------------
Informatica
Teradata
Oracle... (3 Replies)
Discussion started by: srilaxmi
3 Replies
4. Shell Programming and Scripting
How to manipulate first column and reverse the line order in third and fourth column as follws?
For example i have a original file like this:
file1
0.00000000E+000 -1.17555359E-001 0.00000000E+000
2.00000000E-002 -1.17555359E-001 0.00000000E+000
... (1 Reply)
Discussion started by: Max Well
1 Replies
5. UNIX for Dummies Questions & Answers
How can I list the file under current directory both in alphabetical and in reverse alphabetical order? (1 Reply)
Discussion started by: g.ashok
1 Replies
6. Shell Programming and Scripting
i am having lines like below seperated by "|" (pipe)
abc|xyz
123|567
i have to get the above in reverse order
xyz|abc
567|123
Pls help (5 Replies)
Discussion started by: suryanarayana
5 Replies
7. Shell Programming and Scripting
Hi,
I want to print the item in reverse order such that the output would look like
00 50 50 23 40 22 02 96
Below is the input:
00 05 05 32 04 22 20 69
Video tutorial on how to use code tags in The UNIX and Linux Forums. (5 Replies)
Discussion started by: reignangel2003
5 Replies
8. UNIX for Dummies Questions & Answers
Hello all,
I have a list of file names in a text document where each file name consists of 4 letters and 3 numbers (for example MACR119). There are 48 file names in the document (they are not in alphabetical or numerical order). I would like to reorder the list of names so that the 48th name is... (3 Replies)
Discussion started by: MDeBiasse
3 Replies
9. UNIX for Beginners Questions & Answers
I have an interactive script which works terrific at processing a folder of unsorted files into new directories.
I am wondering how I could modify my script so that( upon execution) it provides an additional labelled summary file on my desktop that lists all of the files in each directory that... (4 Replies)
Discussion started by: Braveheart
4 Replies
LEARN ABOUT CENTOS
yum-langpacks
yum-langpacks(8) yum-langpacks(8)
NAME
yum-langpacks - Plugin for yum
SYNOPSIS
yum [command] [package ...]
DESCRIPTION
yum-langpacks is a plugin for yum to install language packs. This plugin allows user various commands.
command is one of:
* langavailable [language1] [language2] [...]
* langinfo [language1] [language2] [...]
* langinstall [language1] [language2] [...]
* langlist [language1] [language2] [...]
* langremove [language1] [language2] [...]
langavailable
This command allows user to find if language support is available for the given input languages.
langinfo
This command allows user to check which packages will get installed when the given input language support is installed.
langinstall
This command allows user to install language packs for the given input languages.
langlist
This command prints list of the installed languages.
langremove
This command allows user to remove the installed language packs for a given input languages.
EXAMPLES
To check what packages get installed for language codes es_ES, hi_IN and language names Japanese and Portuguese (Brazil).
yum langinfo es_ES "Japanese" hi_IN "Portuguese (Brazil)"
NOTES
These commands accept language codes or language names or mix of them as a input.
SEE ALSO
yum (8)
BUGS
Please report any bugs in Red Hat bugzilla, https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora
Parag Nemade yum-langpacks(8)