Sponsored Content
Top Forums Shell Programming and Scripting To parse through the file and print output using awk or sed script Post 302170951 by Franklin52 on Wednesday 27th of February 2008 06:44:32 AM
Old 02-27-2008
You should skip that leet-speak and try to use a plain and civilized English if you don't want to be ignored!

Regards
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

using awk or sed to print output from one file

dear i have one file regarding >abshabja>sdksjbs>sknakna>snajxcls so i want to be output like >abshabja >sjkabjb >sknakna >snajxcls Any using awk or sed will help thanks (2 Replies)
Discussion started by: cdfd123
2 Replies

2. Shell Programming and Scripting

Parse file using awk and work in awk output

hi guys, i want to parse a file using public function, the file contain raw data in the below format i want to get the output like this to load it to Oracle DB MARWA1,BSS:26,1,3,0,0,0,0,0.00,22,22,22.00 MARWA2,BSS:26,1,3,0,0,0,0,0.00,22,22,22.00 this the file raw format: Number of... (6 Replies)
Discussion started by: dagigg
6 Replies

3. Shell Programming and Scripting

awk command : To print the output to a file

half of the problem is already solved with the help of bartus11 suggestion I have a txt file having rows and coulmns, i want to perform some operation on a specific coulmn starting from a specific line. 50.000000 1 1 1 1000.00000 1000.00000 ... (5 Replies)
Discussion started by: shashi792
5 Replies

4. Shell Programming and Scripting

Perl script to parse output and print it comma separated

I need to arrange output of SQL query into a comma separated format and I'm struggling with processing the output... The output is something like this: <Attribute1 name><x amount of white spaces><Atribute value> <Attribute2 name><x amount of white spaces><Atribute value> <Attribute3... (2 Replies)
Discussion started by: Juha
2 Replies

5. Shell Programming and Scripting

awk/sed script to print each line to a separate named file

I have a large 3479 line .csv file, the content of which looks likes this: 1;0;177;170;Guadeloupe;x 2;127;171;179;Antigua and Barbuda;x 3;170;144;2;Umpqua;x 4;170;126;162;Coos Bay;x ... 1205;46;2;244;Unmak Island;x 1206;47;2;248;Yunaska Island;x 1207;0;2;240;north sea;x... (5 Replies)
Discussion started by: kalelovil
5 Replies

6. Shell Programming and Scripting

Awk script to run a sql and print the output to an output file

Hi All, I have around 900 Select Sql's which I would like to run in an awk script and print the output of those sql's in an txt file. Can you anyone pls let me know how do I do it and execute the awk script? Thanks. (4 Replies)
Discussion started by: adept
4 Replies

7. Shell Programming and Scripting

sed/awk script to parse list of bandwidth rules

Hello all gurus, I have a long list of rules as below: 20 name:abc addr:203.45.247.247/255.255.255.255 WDW-THRESH:12 BW-OUT:10000000bps BW-IN:15000000bps STATSDEVICE:test247 STATS:Enabled (4447794/0) <IN OUT> 25 name:xyz160 addr:203.45.233.160/255.255.255.224 STATSDEVICE:test160... (3 Replies)
Discussion started by: sb245
3 Replies

8. Shell Programming and Scripting

awk script to search output for a value and print

GOODNUMBERS="1 2 3 4 5 6 3 3 34 34 5 66 12" BADNUMBERS="7 3 12 5 66" for eachnum in `echo ${GOODNUMBERS}` do echo ${BADNUMBERS} | gawk -v threshold=${eachnum} '$1 != threshold' done what im trying to do with the above is, i want to print numbers that are in the GOODNUMBERS... (10 Replies)
Discussion started by: SkySmart
10 Replies

9. Shell Programming and Scripting

How to parse this file using awk and output in CSV format?

My source file looks like this: Cust-Number = "101" Cust-Name="Joe" Cust-Town="London" Cust-hobby="tennis" Cust-purchase="200" Cust-Number = "102" Cust-Name="Mary" Cust-Town="Newyork" Cust-hobby="reading" Cust-purchase="125" Now I want to parse this file (leaving out hobby) and... (10 Replies)
Discussion started by: Balav
10 Replies

10. UNIX for Beginners Questions & Answers

awk and sed script to create one output CSV file

Hi All , I would require your help to generate one output file after post processing of one CSV file as stated below This file is just a small cut from a big file . Big file is having 20000 lines PATTERN,pat0,pat1,pat2,pat3,pat4,pat5,pat6,pat7,pat8,pat9... (2 Replies)
Discussion started by: kshitij
2 Replies
DEBCONF-UPDATEPO(1)						    po-debconf						       DEBCONF-UPDATEPO(1)

NAME
       debconf-updatepo - update PO files about debconf templates

SYNOPSIS
       debconf-updatepo [-v] [-h] [--podir=DIR] [--skip-pot] [--skip-merge] [--msgid-bugs-address=EMAIL]

DESCRIPTION
       This program reads po/POTFILES.in to determine which master files need to be processed, then extracts new gettext strings into
       po/templates.pot and updates all po/*.po files.	This script can be called either in the top-level directory, or in the debian or debian/po
       subdirectories.	It is run by developer and/or translator to update PO files when the English text is modified in templates files.

OPTIONS
       -h, --help
	   Display a usage summary and exit.

       -v, --verbose
	   Process in verbose mode.

       --podir=DIR
	   Set directory for PO files.	By default PO files are searched in debian/po, po and ../po directories in that order.

       --skip-pot
	   Do not generate a new po/templates.pot file.

       --skip-merge
	   Do not merge existing PO files with po/templates.pot.

       --msgid-bugs-address=EMAIL
	   Set the email address that will be specified in the POT's Report-Msgid-Bugs-To field.

	   By default, this field is set to <package>@package.debian.org.

	   It is intended for the maintainers of Debian based distributions, and should be used in the following cases:

	   o   The package is not present in Debian (and thus the <package>@packages.debian.org address does not exist).

	   o   The maintainer made significant changes in the debconf templates (or added templates to a Debian package without templates), and
	       does not want to bother the Debian maintainer with bug reports that won't be relevant for the Debian maintainer.

	   The default address is preferred to avoid corrections in the Debian based distribution without a notification to the Debian maintainer.

SEE ALSO
       debconf-gettextize(1), po2debconf(1), podebconf-report-po(1), po-debconf(7).

AUTHOR
	 Denis Barbier <barbier@linuxfr.org>

								    2016-10-01						       DEBCONF-UPDATEPO(1)
All times are GMT -4. The time now is 03:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy