Sponsored Content
Full Discussion: awk program
Top Forums Shell Programming and Scripting awk program Post 302552628 by deo_kaustubh on Monday 5th of September 2011 02:34:42 AM
Old 09-05-2011
Thanks. but function asort doesn't seem to be working for me
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

AWK Program File Help

I have some .dat files that I cannot open and read the data. It is an awk program file, and my question would be to you all is there a way to convert this awk file to ascii text? Thanks (10 Replies)
Discussion started by: ryangfm
10 Replies

2. Shell Programming and Scripting

Error in AWK Program

Hi Friends, I need your help. I am not able to execute one awk program .If you can solve the following small program then i can solve other one. $ vi prg #!/bin/awk -f BEGIN { # Print the squares from 1 to 10 the first way i=1; while (i <= 10) { ... (3 Replies)
Discussion started by: bikas_jena
3 Replies

3. UNIX for Dummies Questions & Answers

AWK program

Hi all, I need to grep the 3 characters from a file, and to fetch the corresponding words to that character. My file is in the following format.. The below text will be in the separate file....say file2.txt ABC This is the first text. DEF This is the second text. GH1 9.8.7890 AB1... (1 Reply)
Discussion started by: sivakumar.rj
1 Replies

4. UNIX for Dummies Questions & Answers

AWK Program

:(Hi all, I have a doubt in AWK program. I am writing an awk program which accepts a parameter as input and it should display the corresponding details. if the country as "US" it should be displayed as "United States of America" and the country as "IN" India should be displayed. How can I... (2 Replies)
Discussion started by: sivakumar.rj
2 Replies

5. Shell Programming and Scripting

AWK program

Hi all, I have the following problem and hope someone could help me. I have 184 files, each with 5 columns (c1, c2, c3, c4, c5). I am only interrested in column 5, and would like to paste column 5 from all the 184 files into one file. I have tried the following with two files awk... (20 Replies)
Discussion started by: awkliker
20 Replies

6. Shell Programming and Scripting

Problem with awk awk: program limit exceeded: sprintf buffer size=1020

Hi I have many problems with a script. I have a script that formats a text file but always prints the same error when i try to execute it The code is that: { if (NF==17){ print $0 }else{ fields=NF; all=$0; while... (2 Replies)
Discussion started by: fate
2 Replies

7. Shell Programming and Scripting

AWK program....

Dear All, facing problem to get data in different fields. SO i am using # to get the data.. please refer my code below... BEGIN { FS=" " } { if ( $1 == "START" ) { i = i+1; SFILENAME = FILENAME } if ( substr($1,2,8) == "filename" ) ... (1 Reply)
Discussion started by: arvindng
1 Replies

8. Shell Programming and Scripting

Help with awk program

i have two files, one looks like this (file1): novelMiR_892 novelMiR_891, novelMiR_852 novelMiR_893 novelMiR_1661 novelMiR_854 novelMiR_1210 novelMiR_1251 novelMiR_855 novelMiR_1252 novelMiR_897 novelMiR_2336,novelMiR_2335,and the second like this... (5 Replies)
Discussion started by: dietmar13
5 Replies

9. Shell Programming and Scripting

awk program in perl

Hi All, I have an AWK code snippet which I want to use in Perl. How can I achieve the same thing in perl? Here I am searching for a pattern in a file and from that matching line, I am extracting the 3rd column value and storing it in a variable which I later on use this value in a if condition. ... (2 Replies)
Discussion started by: sanzee007
2 Replies

10. Shell Programming and Scripting

If else in awk program

Hi All , I have set of input files with one of the fields as below File 1 -Field 1=BUDGET_CURR_FX File 2 -Field 1=BUDGET_MTH_AVGFX File 3 -Field 1=BUDGET_PREV Now i need to include one extra field in the new file as below Output File 1 -Field 1= BUDGET Field2=CURRENT_FX Output File... (2 Replies)
Discussion started by: Hypesslearner
2 Replies
cp_dirs(4)						     Kernel Interfaces Manual							cp_dirs(4)

NAME
cp_dirs - Database configuration file used by worldwide support software SYNOPSIS
/var/i18n/conf/cp_dirs DESCRIPTION
The cp_dirs configuration file determines the locations for the following set of database or data files: The character attribute database for user-defined characters (see cedit(1) and cgen(1)) Font database files and preload font database files for user-defined characters Font database files are used by the On-Demand Loading (ODL) mechanism. Preload font database files are used with terminals that are designed specifically for multibyte characters. Refer to odl(5) for more information. BDF and PCF format font files for user- defined characters These files are used for graphical user interface displays. Input key sequence databases used by DECwindows and CDE input method servers and by terminals that are designed specifically for multibyte characters. Collating value database used for sorting (see asort(1)) Phrase databases used with both the software and the hardware phrase input methods (see phrase(1) and sim(5)). In the cp_dirs file, lines beginning with the # character are treated as comments. Each line that is not a comment constitutes an entry and adheres to the following format: service-name std-path sys-path usr-path In this format: Can be one of the following values: Specifies the BDF format font files for GUI interfaces. Specifies the collating value database. Specifies the input key sequence databases. Specifies the ODL font databases. Specifies PCF format font files for GUI inter- faces. Specifies the raw font files used to preload multibyte terminals. Specifies the phrase input method database. Specifies the char- acter attribute database. Specifies the location of the database files for standard character sets. Specifies the location of the system- wide database files for user-defined characters. Specifies the location of private database files for user-defined characters. The std-path, sys-path, and usr-path values must be one of the following: An absolute pathname (that begins with /) A pathname relative to the home directory (that begins with ~/) The hyphen (-) to indicate that the field does not apply to the service that the entry describes FILES
Database location configuration file RELATED INFORMATION
Commands: asort(1), cedit(1), cgen(1), phrase(1) Others: odl(5), sim(5) delim off cp_dirs(4)
All times are GMT -4. The time now is 09:33 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy