Search Results

Search: Posts Made By: pukars4u
9,959
Posted By pukars4u
Awk error -- awk: 0602-562 Field $() is not correct.
typeset -i i=1
while read -r filename; do

Splitfile=`$Targetfile_$i.txt`
awk 'substr($0,1,5) == substr($filename,1,5) && substr($0,526,2) == substr($filename,6,2) && substr($0,750,12) ==...
6,968
Posted By pukars4u
Grep multiple line pattern and output the lines
Hi I have the following Input

--
-- TABLE: BUSINESS_UNIT
--

ALTER TABLE RATINGS.BUSINESS_UNIT ADD CONSTRAINT FK1_BUSINESS_UNIT
FOREIGN KEY (PEOPLESOFT_CHART_FIELD_VALUE_ID)
...
2,590
Posted By pukars4u
removing duplicates based on key
HI I am having a file like this
1234
12345678
1234567890123
4321
43215678
432156789028433435

I want to get ouput as
1234567890123
432156789028433435
based on key position 1-4

I am...
4,002
Posted By pukars4u
substr not working
Hi I am trying to run this command in ksh ...its not working

$line="123356572867116w1671716"
actual_length = 16
cut_line=`awk 'BEGIN{print substr(ARGV[1],1,actual_length)}' "$line"`
the substr...
8,072
Posted By pukars4u
Cut too slow
Hi I am using a cut command in the script which is slowing down the performance of the script .can anyone suggest the other ways of doing the same cut command

Record_Type=`echo "$line" | cut...
5,501
Posted By pukars4u
No I cannot split the record based on the A. I...
No I cannot split the record based on the A. I have to look at the Segement A and then increase it by length then find next Segment (It can be any B,C,D,E,F) then split it until end of line

I have...
5,501
Posted By pukars4u
Split a record
UNIX Scripting
Hi I am trying to read a record and split it into multiple records
My Record looks like this

1001A0010@B0010*&^0)C0012hgdj&6sD0020fhfri93kivmepi9
where
UniqueID is 1001...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 06:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy