Search Results

Search: Posts Made By: swapnil.nawale
2,791
Posted By swapnil.nawale
Thanks to all for replying. All replies were...
Thanks to all for replying. All replies were great.It is so simple to deal with problem.

Just an additional thing , I want to know how can we disable actual rm command of UNIX system so that...
2,791
Posted By swapnil.nawale
Creating backup of files being deleted
Hi All ,

We usually tend to use rm -f or rm -rf commands to delete files and directories in UNIX based Systems. But despite of utter care while deletion, there is high possibility that some of...
1,540
Posted By swapnil.nawale
Thanks a lot alister. This works like charm :)
Thanks a lot alister. This works like charm :)
1,540
Posted By swapnil.nawale
Updating the files at specific location
Hi All,

I have a requirement wherein I need to test if a line in file succeeding "IF" statement has "{" .If the line succeeding "IF" statement does not have "{" , then I need to insert the "{"....
2,289
Posted By swapnil.nawale
Thanks Scrutinizer and alister. Quite helpful...
Thanks Scrutinizer and alister. Quite helpful replies :)
2,289
Posted By swapnil.nawale
Problem while taking input from User
Hi All,

I am facing a problem while taking input from user in Shell Script. Basically , I want to read a file line by line. And I want to remove certain lines of that file.But before removing...
2,013
Posted By swapnil.nawale
Operations on a file with Deletion , Modification and Insertion of lines
Hi All ,

Given a file , I need to delete , modify and insert lines matching certain patterns in that file using shell scripting.

e.g. If a file FILE1 has following content :

CUST.ABC.DEF...
6,695
Posted By swapnil.nawale
Thanks a lot steadyonabix. :) Your code is...
Thanks a lot steadyonabix. :) Your code is working perfectly fine.
6,695
Posted By swapnil.nawale
Yes steadyonabix. I need to show the matching...
Yes steadyonabix. I need to show the matching string once only, whatever may be the number of times a matching string is repeated.
6,695
Posted By swapnil.nawale
Thanks for the reply. Unfortunately , egrep...
Thanks for the reply.

Unfortunately , egrep and grep both are not supporting "-o" option on the unix flavor I am working upon.Any other solution or approach ?
6,695
Posted By swapnil.nawale
Extracting the strings matching a pattern from a word
Hi All ,

I need to extract the strings that are matching with the pattern : CUST.<AnyStringOfAnyLength>.<AnyStringOfAnyLength> from a file and then write all these string into another file.
...
4,739
Posted By swapnil.nawale
Finding a word at specific location in a string
Hi All ,

I have different strings (SQL queries infact) of different lengths such as:

1. "SELECT XYZ FROM ABC WHERE ABC.DEF='123' "
2. "DELETE FROM ABC WHERE...
Showing results 1 to 12 of 12

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