Search Results

Search: Posts Made By: sirababu
2,974
Posted By sirababu
What i meant duplicate means, dups between Dir...
What i meant duplicate means, dups between Dir Path, like under Dir Path2 there are 3 common entries, i need to print only once
Your code is removing dups overall.

cat dir_path
Dir Path1...
2,974
Posted By sirababu
Thanks, is there a way to delete duplicate...
Thanks, is there a way to delete duplicate lines(case sensitively) of the output

Reg
Venkat
2,974
Posted By sirababu
Thanks, yes u r right but if the line is like...
Thanks, yes u r right but if the line is like this

---------- D:\ABC5\XYZ\ONE.CONFIG
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424"...
2,974
Posted By sirababu
Getting "cann't be parsed error"
Getting "cann't be parsed error"
2,974
Posted By sirababu
Its only printing user id not data source name. ...
Its only printing user id not data source name.

Also dir name is not common

ex: c:\temp\abc
d:\exit\xyz
c:\abc\test\one


Its working, tx all



Reg
Venkat
2,974
Posted By sirababu
Print between multiple patterns
Hello Gurus,

I have a file this

Dir Path 1
Connection pool="somename"; "DataSource Name"="DS name"; Password="pwd"; User Id="uid";some other fields

Dir Path2
Password="pwd2"; User...
1,937
Posted By sirababu
Works Perfect, anything in sed or awk?, just...
Works Perfect, anything in sed or awk?, just curious
1,937
Posted By sirababu
How to get value between patterns
Gurus,

If is my file
<PRODUCT_TYPE>DN</PRODUCT_TYPE><SERVER_NAME>testserver1</SERVER_NAME><FLAVOR>Windows</FLAVOR><OS>Windows NT</OS><CPU>4</CPU>
...
2,896
Posted By sirababu
I have a big data file , these are things i am...
I have a big data file , these are things i am doing

I splitting the file with same pattern & then split into 20000 lines each

& adding count number of files(splitted) using sed & adding line...
8,161
Posted By sirababu
Thanks a lot
Thanks a lot
8,161
Posted By sirababu
sed limitation of 255 characters
Gurus,

sed -e "s/\(.\{1,255\}\)\(.\{1,2\}\)\(.*\)/\1AB\3/" FILE ---this works

sed -e "s/\(.\{1,468\}\)\(.\{1,2\}\)\(.*\)/\1AB\3/" FILE ---this does not

It works only till 1,255 ( any...
2,896
Posted By sirababu
Any way to improve performance of this script
I have a data file of 2 gig

I need to do all these, but its taking hours, any where i can improve performance, thanks a lot


#!/usr/bin/ksh
echo TIMESTAMP="$(date +'_%y-%m-%d.%H-%M-%S')"...
2,781
Posted By sirababu
Can i replace with AB with $AB variable.
Can i replace with AB with $AB variable.
2,781
Posted By sirababu
Works great , thanks
Works great , thanks
2,781
Posted By sirababu
I want to replace simultaneously AB , AB will be...
I want to replace simultaneously AB , AB will be a variable value so its not fixed.

I will try other replies.
2,781
Posted By sirababu
How to replace 4 & 5 the character of every line
Gurus,
How to replace 4 & 5 the character of every line with a fixed pattern

123456789 with 123AB6789

Reg
Babu
Showing results 1 to 16 of 16

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