Grep for the second occurence in the file
Hi All i have a text in a file i have to grep for the second occurencre (DESCRIPTION) of the file and and append to a file
can you please help
DESCRIPTION
Sed is a stream editor. A stream editor is used to perform basic text
transformations on an input stream (a file or input from a pipeline).
While in some ways similar to an editor which permits scripted edits
(such as ed), sed works by making only one pass over the input(s), and
is consequently more efficient. But it is sedās ability to filter text
in a pipeline which particularly distinguishes it from other types of
editors.
DESCRIPTION
Sed is a stream editor. A stream editor is used to perform basic text
transformations on an input stream (a file or input from a pipeline).
While in some ways similar to an editor which permits scripted edits
(such as ed), sed works by making only one pass over the input(s), and
is consequently more efficient. But it is sedās ability to filter text
in a pipeline which particularly distinguishes it from other types of
editors.