Search Results

Search: Posts Made By: sabyasm
4,193
Posted By sabyasm
no :( it's multiline ...
no :( it's multiline ...
4,193
Posted By sabyasm
find and replace in subdirectory (filename & content - both)
Hi,

I have to rename all occurance of CUST_MST to RESELLER_MST both in filename and file content under a directory (say D0) which contains multiple (2-3 levels) sub directory.

Example:

D0...
11,929
Posted By sabyasm
There are simple database command to find the...
There are simple database command to find the difference.

Example: if you are using oracle you can use the command:

select * from A minus select * from B;

(A and B be the table name)
......
3,464
Posted By sabyasm
Worked absolutely fine :) Thanks a ton!
Worked absolutely fine :)

Thanks a ton!
3,464
Posted By sabyasm
Thanks Radoulov and Unilover :) Works like a...
Thanks Radoulov and Unilover :)

Works like a charm.

Just a small glitch ...:confused: - not so much proficient to debug and fix the problem ...

Everything (all the other records) is coming...
3,464
Posted By sabyasm
Hello Radoulov, Thanks for your reply and...
Hello Radoulov,

Thanks for your reply and sorry for my lack of knowledge in awk.

I am using solaris 10 - I have tried as follows:

I have created a script : chk.awk



input text is...
3,464
Posted By sabyasm
Perl/Sed script help
Hi All,

I would need to generate Oracle Inster scripts from an excel formatted spreadsheet as follows:



This needs to be stripped as follows:




REC 1, REC 2 etc are the separators of...
3,668
Posted By sabyasm
Worked absolutely fine. Thanks a ton!
Worked absolutely fine. Thanks a ton!
3,668
Posted By sabyasm
removing pattern which is spread in multiple lines
I have several huge files wich contains oracle table creation scripts as follows:


I would need to remove the pattern colored in red above. Any sed/awk/pearl code will be of much help.

Thanks
7,914
Posted By sabyasm
great! worked - just wondering if this can be...
great! worked - just wondering if this can be donw in perl ...
7,914
Posted By sabyasm
deleting particular lines and moving a line up using perl/sed
Hi,

I need convert a dump file in the following format : (please note that line numbers are provided for easy look)

Original file:

1 2007-10-2482.90 No trade 0 0.00 100000.00
2 ...
1,348
Posted By sabyasm
perl script help
I am new to perl and trying to write script which will check the indentation/formatting/case etc for oracle/ PL-SQL scripts. For this purpose, I am writing a script that reads the PL-SQL script line...
3,834
Posted By sabyasm
Hi, Thanks for pointing this out. I have...
Hi,

Thanks for pointing this out. I have resolved the problem - the lib was not pointed correctly.

Thanks again!
3,834
Posted By sabyasm
help with perl module installation
Hi,

I am trying to install perl modules in HPUX under my account. I do not have the root permission.

The module name I am trying to install is Spreadsheet-WriteExcel. I have downloaded the...
7,984
Posted By sabyasm
similar problem
The similar problem happens to me! I think some mailbox setting is required to change this.

I use microsoft outlook and if I use the command :

mailx -s "subj" myaddress < input_file_name

I...
2,412
Posted By sabyasm
which UNIX flavour you are using ?
which UNIX flavour you are using ?
10,385
Posted By sabyasm
any help guys ? :(
any help guys ? :(
10,385
Posted By sabyasm
I am using HP-UX
I am using HP-UX
10,385
Posted By sabyasm
unable to delete file for permission problem
Hi,

We are facing problem to delete some logfiles. Explaing with example for clear understanding :

we have 2 accounts : prdpqrs (application account) & prodxyz (admin account - not root). Both...
4,098
Posted By sabyasm
remsh problem
Hi All,

We have 2 unix boxes HP UX. From Box1 we need to run a script on Box2 using remsh. The job at Box2 exits with status 0 on successful completion & 1 if fails.

But even if the scrips...
2,395
Posted By sabyasm
Thanks a lot! My requirement can be achieved...
Thanks a lot!
My requirement can be achieved thru :

comm -3 file_1 file_2
2,395
Posted By sabyasm
extracting uncommon part between two files
Hi,

I need to extract the uncommon (better say incremental) part from 2 files say file_1 and file_2.

file_2 contains everything that is in file_1. That is file_2 has been created internally...
43,579
Posted By sabyasm
thanks a lot! :)
thanks a lot! :)
43,579
Posted By sabyasm
Thanks. But.. while I am usine $join -t:...
Thanks. But..

while I am usine
$join -t: file1.txt file2.txt

I am getting the cartesian product - that is the all possible join combination 10x10 = 100 rows.

/home/mukher2> join -t: file1...
43,579
Posted By sabyasm
Column Merge?
Hi all,

I need to join two columns from two different files file1.txt and file2.txt and append in a new file. Example :
$cat file1.txt
ABCD.ksh:010141
ABCD.ksh:010511
ABCD.ksh:010815...
Showing results 1 to 25 of 27

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