sed - JohnnyFoulds/firstrepo GitHub Wiki
This page show some basic examples for using sed.
Development Environment
To make it easy to keep record of all the examples a Apache Zeppelin workbook will be used. The development container is instantiated with the following parameters:
docker run -p 8080:8080 --rm \
-v $PWD/logs:/logs \
-v $PWD/code/firstrepo/notebooks:/notebook \
-v $PWD/code/firstrepo/data/sed:/data \
-e ZEPPELIN_LOG_DIR='/logs' \
-e ZEPPELIN_NOTEBOOK_DIR='/notebook' \
--name zeppelin apache/zeppelin:0.8.1
Samples Notebook
Have a look at the examples notebook as a reference.
Web References
- Unix Sed Command to Delete Lines in File - https://www.folkstalk.com/2013/03/sed-remove-lines-file-unix-examples.html