Guest_imported
New member
- Jan 1, 1970
- 0
Hi
I have a file A as follows : -
aaaa
XXXX
bbbb
cccc
XXXX
dddd
etc
I need to create file B, with only the XXXX records from A.
I know I can "cat A | sed {syntax} > B", or use
"sed -f sedfile A > B", but what is the syntax ?
The reference manual I have is Double Dutch.
Many thanks in anticipation.
I have a file A as follows : -
aaaa
XXXX
bbbb
cccc
XXXX
dddd
etc
I need to create file B, with only the XXXX records from A.
I know I can "cat A | sed {syntax} > B", or use
"sed -f sedfile A > B", but what is the syntax ?
The reference manual I have is Double Dutch.
Many thanks in anticipation.