05-28-2009
Thanks for your reply.
Pls find below the sample.
000450^2009^1^13^001^CAP^06^CC31003/CC31053/CC31403/CK31003/CK31053/CK31403/CC10543/CC10553/CC10703/CC10753/CC10903/CC10953/CC20743/CC20753/CC20903/CC20943/CC20953/CC30903/CC30943/CC30953/CK10543/CK10553/CK10703/CK10753/CK10903/CK10953/CK20743/CK20753/CK20903/CK20943/CK20953/CK30903/CK30943/CK30953/CC10706/CC10906/CC10936/CC20906/CK10706/CK10906/CK10936/CK20906^&1BN/2AC/2AI/2AK/2AP/2DA/2DF/2DH/2DL/2DP/2DR/2EL/2EM/2IF/2IN/2IP/2IW/2JB/2JC/2JE/2JG/2JK/2JM/2JR/2K1/2K7/2KB/2KD/2KI/2KL/3XJ/3XK/3XN/3XR/3XV/A0G/A0K/A0M/A0P/A0W/A0Z/AI9/AIJ/AO3/AO5/APQ/AQD/AQK/B0Z/B2V/B2X/B3G/B3R/B5X/B6B/B6C/B7F/B7P/B7R/B7V/B8B/B8E/BD7/BD9/BDC/BE2/BE6/BE7/BH3/BH7/BI2/BI6/BI8/BI9/BJ1/BJ7/BJ8/BM1/BM4/BM6/BM7/BN4/BN5/BN6/BN8/BN9/BP1/BP2/BQ1/BQ7/BQ8/BQV/BQY/BR1/BR2/BR3/BR5/BR8/BT1/BT6/BT8/BT9/BU0/BU2/BU5/BU6/BU8/BV1/C0A/C0G/C0L/C0M/C0T/C0U/C0W/C0Y/C0Z/C9N/C9O/C9P/C9S/CG2/CG4/CG8/CH0/CH2/CH3/CH5/CI1/CI6/CI9/CID/CIQ/CM1/CM4/CN1/CN2/CN3/CN5/CN6/CN8/CP0/CP2/CP5/CP8/CQ2/CQ6/CQH/CQL/CQR/D0K/D0Q/D0V/D1R/D1X/DTY/E1A/E1E/E1F/E1J/E1Q/E1V/E3U/E81/E9C/E9P/E9V/EOB/EOD/EON/F0B/F0E/F0F/F0N/F0R/F0S/F0Z/F1A/F1C/F1F/F1G/F1M/F1P/F1Q/F1W/F2K/F2L/F2M/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/KKX/KKY/KLA/KLB/KLC/KLD/KLE/KLG/KLJ/KLK/KLL/KLP/KLQ/KLT/KLU/KLV/KLZ/KM0/KM3/KM4/KM8/KMA/KMB/KMC/KMD/KME/KMF/KMG/KMH/KMI/KMJ/KMM/KMP/KMQ/KMR/KMS/KMT/KMW/KMX/KN3/KN6/KN7/KN9/KNC/KND/KNE/KNG/KNI/KNK/KNS/KNT/KO1/KO3/KO4/KOB/KP3/KP5/KP8/KP9/KQ1/KQ3/KQ4/KQ5/KQ6/KQ7/KQ8/KQ9/KQA/KQK/KQM/KR5/KR9/KRT/KSW/KT1/KT2/KT4/KU8/KVD/KVF/KVH/KVI/KVK/KVP/KVQ/KVR/KVT/KVU/KVX/KVY/KWC/KWD/KWE/KWI/KWK/KWQ/KWR/KWT/KWV/KWW/KXC/KXD/KXF/KXG/KXK/KXM/KXN/KXP/KXQ/KXR/KXS/KXT/KXV/KXW/KXY/KXZ/KZA/KZD/KZG/KZJ/KZK/KZM/KZP/PIP/PIU/Q1B/Q1K/Q1Q/Q2A/Q2C/Q2K/Q2S/Q2U/Q3B/Q3G/Q3H/Q3J/Q3L/Q3T/Q3Z/Q4U/Q5G/RZC/RZD/RZE/RZM/RZP/S1A/S1C/S1D/S1N/S21/S22/S23/S24/S2A/S2I/S2P/S2U/S2Z/SLO/T0L/T0M/T0N/T0Q/T0Y/T0Z/TA0/TA1/TA2/TA3/TA8/TC6/TC8/TC9/TFT/TI1/TI2/TIF/TJC/TL0/TQW/TS0/TU0/V6F/V6G/V6H/V6J/V6U/V6V/V6X/V6Y/V6Z/VBI/VBU/VBZ/VF0/VI0/VI3/VI8/VN4/VP4/VP8/VU0/VU5/VU6/VU7/VV2/VW4/VW6/VW7/VZ5/VZ6/VZ7/VZ8/WQD/ZJ2-R6D/VN9/VX7.^R^^
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I have a piece of code ...wherein I need to assign the following ...
1) A command line argument to a variable
e.g origCount=ARGV
2) A unix command to a variable
e.g result=`wc -l testFile.txt`
in my awk shell script
When I do this :
print "origCount" origCount --> I get the... (0 Replies)
Discussion started by: sweta_doshi
0 Replies
2. Shell Programming and Scripting
Sorry for the duplicate thread this one is similar to the one in
https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121
Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Discussion started by: rajan_san
4 Replies
3. UNIX for Dummies Questions & Answers
I have a script problem that I am not able to solve due my very limited understanding of unix/awk.
This is the contents of test.sh
awk '{print $1}'
From the prompt if I enter:
./test.sh Hello World
I would expect to see "Hello" but all I get is a blank line. Only then if I enter "Hello... (2 Replies)
Discussion started by: JasonHamm
2 Replies
4. Shell Programming and Scripting
input1
a_a a/a 10 100
a1 a_a 20 200
b1 b_b 30 300
input2
a_a a/a xxx yyy
a1 a1 lll ppp
b1 b_b kkk ooo
output
a_a a/a 10 100 xxx yyy (2 Replies)
Discussion started by: ruby_sgp
2 Replies
5. Shell Programming and Scripting
Hello all,
Here is what my bash script does: sums number columns, saves the tot in new column, outputs if tot >= threshold val:
> cat getnon0file.sh
#!/bin/bash
this="getnon0file.sh"
USAGE=$this"
InFile="xyz.38"
Min="0.05"
#
awk '{sum=0; for(n=2; n<=NF; n++){sum+=$n};... (4 Replies)
Discussion started by: catalys
4 Replies
6. Shell Programming and Scripting
Hi,
I have a situation to compare one file, say file1.txt with a set of files in directory.The directory contains more than 100 files.
To be more precise, the requirement is to compare the first field of file1.txt with the first field in all the files in the directory.The files in the... (10 Replies)
Discussion started by: anandek
10 Replies
7. Shell Programming and Scripting
below is the output xml string from some other command and i will be parsing it using awk
cat /tmp/alerts.xml
<Alert id="10102" name="APP-DS-ds_ha-140018-componentFailure-S" alertDefinitionId="13982" resourceId="11427" ctime="1359453507621" fixed="false" reason="If Event/Log Level(ANY) and... (2 Replies)
Discussion started by: vivek d r
2 Replies
8. Shell Programming and Scripting
Hi,
I am trying to pass awk field to a command line executed within awk (need to convert a timestamp into formatted date).
All my attempts failed this far.
Here's an example.
It works fine with timestamp hard-codded into the command
echo "1381653229 something" |awk 'BEGIN{cmd="date -d... (4 Replies)
Discussion started by: tuxer
4 Replies
LEARN ABOUT DEBIAN
app::kgb::change
App::KGB::Change(3pm) User Contributed Perl Documentation App::KGB::Change(3pm)
NAME
App::KGB::Change - a single file change
SYNOPSIS
my $c = App::KGB::Change->new(
{ action => "M", prop_change => 1, path => "/there" } );
print $c;
my $c = App::KGB::Change->new("(M+)/there");
DESCRIPTION
App::KGB::Change encapsulates a single path change from a given change set (or commit).
App::KGB::Change overloads the "" operator in order to provide a default string representation of changes.
FIELDS
action (mandatory)
The action performed on the item. Possible values are:
M The path was modified.
A The path was added.
D The path was deleted.
R The path was replaced.
path (mandatory)
The path that was changed.
prop_change
Boolean. Indicated that some properties of the path, not the content were changed.
CONSTRUCTOR
new ( { initial values } )
More-or-less standard constructor.
It can take a hashref with keys all the field names (See ).
Or, it can take a single string, which is de-composed into components.
See for examples.
METHODS
as_string()
Return a string representation of the change. Used by the "" overload. The resulting string is suitable for feeding the constructor
if needed.
CLASS METHODS
detect_common_dir("changes")
Given an arrayref of changes (instances of APP::KGB::Change), detects the longest path that is common to all of them. All the changes'
paths are trimmed from the common part.
Example:
foo/b
foo/x
foo/bar/a
would return 'foo' and the paths would be trimmed to
b
x
bar/a
perl v5.12.4 2011-09-15 App::KGB::Change(3pm)