Search Results

Search: Posts Made By: saurabhbaisakhi
1,648
Posted By saurabhbaisakhi
All, appreciate your beautiful reply and it's...
All, appreciate your beautiful reply and it's making me sense to move forward, however I am stcuk and unable to finalize the command. Pls refer the details below.

Pls note that, deletion needs to...
1,648
Posted By saurabhbaisakhi
Above solution is not working. Tried below...
Above solution is not working. Tried below statement, however nothing is happening.

echo "l_s := ' INSERT INTO TEST'"|sed "s/[^']*'/'/"

Expected Output
'INSERT INTO TEST'
...
1,648
Posted By saurabhbaisakhi
Partial Delete Lines
Hi,
Need to delete line prior to (INSERT/UPDATE/DELETE). In case ' available, then keep that. Pls refet below details.

Input
======================
l_s := ' INSERT INTO TEST'
l_P...
2,141
Posted By saurabhbaisakhi
Input ====================== l_s := ' INSERT...
Input
======================
l_s := ' INSERT INTO TEST'
l_P PD := ' UPDATE INTO TEST'
l_D := ' DELETE INTO TEST'
This is test

Input
======================
'INSERT INTO TEST'
'UPDATE INTO...
1,510
Posted By saurabhbaisakhi
File Formatting
Hi,
Need to delete all the records prior to pattern (INSERT/UPDATE/DELETE). If ' is available, then need to retain it.

Input
======================
l_s := ' INSERT INTO TEST'
l_P PD := ' ...
1,458
Posted By saurabhbaisakhi
File Formatting
Hi,
Need to delete all the records prior to pattern (INSERT/UPDATE/DELETE). If ' is available, then need to retain it.

Input
======================
l_s := ' INSERT INTO TEST'
l_P PD := ' ...
2,141
Posted By saurabhbaisakhi
delete line after pattern
Hi,
Before insert, delete everything. If ' available before insert, then we need to keep this.

Input:
====
l_s := ' INSERT INTO TEST1'
INSERT INTO TEST2

Output:
====
'INSERT INTO TEST'...
2,641
Posted By saurabhbaisakhi
Delete line before pattern
Hi All,
I want to delete partial line before the INSERT.

Input:
l_s := ' INSERT INTO TEST'

Output:
INSERT INTO TEST'
Showing results 1 to 8 of 8

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