Code Monkey home page Code Monkey logo

learn_gnused's Introduction

Hello! ๐Ÿ‘‹

I'm Sundeep Agarwal, author of several programming ebooks ๐Ÿ“š and devourer of fantasy books ๐Ÿง™

I write about Regular Expressions, Linux CLI one-liners, Scripting Languages and Vim. I also maintain several curated resource lists.

๐Ÿ‘‰ You can buy PDF/EPUB versions of my books via Gumroad or Leanpub.

๐Ÿ“ข ๐Ÿ“ข Use this coupon link to get All books bundle with 25% discount.

โœ… Follow me on twitter and Youtube for interesting tech nuggets.

Blogs โœ๏ธ

๐Ÿ’ป learnbyexample โ€” my super duper awesome programming blog

๐Ÿ“– Escapist reviews โ€” lists, reviews and other thoughts about fictional books (fantasy, sci-fi, etc)

Newsletter ๐Ÿ“ง

Subscribe to learnbyexample weekly for programming resources, tools, free ebooks and more. This is a free newsletter, delivered every Friday. You'll also get access to all the previous issues.

Highlights โœจ

๐Ÿ›ˆ You can read more about me in this PyDev of the Week interview.

learn_gnused's People

Contributors

learnbyexample avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

learn_gnused's Issues

Create guide for beginners

Many of us are here mostly because we chose Linux as a subject to learn in our college. And now it requires us to learn and get comfortable with sed but I find no guide on how to correctly utilise such repository.

Like how am I supposed to learn? Should I fork and make changes in the exercise section or copy input codes to feed my terminal and practise? but I would like to keep a track of my achievements and progress of learning sed.
This would be very helpful and appreciated.
Thank you.

Delete text between blank lines

sed can easily delete text between blank lines but gnused treats blank lines differently.

An example would be worthwhile. Two come to mind, replacing three blank lines with a single blank line and deleting a line and the following blank line (paragraph) if it contains a search string. Non-gnused:

sed 's/\n.*kill.*\n\n/\n/g' sample_text

sample_text

This is a
sample text

    kill = whatever

demonstration.

output

This is a
sample text

demonstration.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.