Search Results

Search: Posts Made By: radha.kalivar
16,258
Posted By radha.kalivar
line after line or within the same line, both are...
line after line or within the same line, both are allowed
16,258
Posted By radha.kalivar
Acccording to my requirement it should not delete...
Acccording to my requirement it should not delete third 'firstline' because there is no 'secondline' string after that. it should delete only if 'firstline secondline' comes contionusly. It can...
16,258
Posted By radha.kalivar
i forgot to mention, the input file can be ...
i forgot to mention, the input file can be

sssssssssss
firstline secondline pppppppppp
ssssssssss
or
sssssssssss
firstline
secondline pppppppppp
ssssssssss

ie firtsline secondline...
16,258
Posted By radha.kalivar
using sed command to delete a string spanning multiple lines
file1 contains the following data

sssssssssss
firstline
secondline pppppppppp
ssssssssss

Using sed comamnd i am trying to delete firtsline secondline.
so, output should be
sssssssssss...
14,929
Posted By radha.kalivar
using sed command to replace multiple lines
the file contains the follwoing lines

/*
* Copyright (C) 1995-1996 by XXX Corporation. This program
* contains proprietary and confidential information. All rights reserved
* except as may...
Showing results 1 to 5 of 5

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