Code Monkey home page Code Monkey logo

wcat_commands's Introduction

w-cat Commands Executor

This project is a command-line tool that executes various commands similar to the cat command but with additional functionalities such as line numbering, filtering empty lines, and converting multiple lines into single lines.

Features

  • Line numbering (-n): Adds numbers to each line of the specified file(s).
  • Non-empty line numbering (-b): Adds numbers to each non-empty line of the specified file(s).
  • Single line conversion (-s): Converts multiple lines into a single line.
  • Multiple Commands(e.g., -n -s): Multiple commands could be applied together except for -n and -b as their operations clash.

Usage

Options

  • -n: Line numbering.
  • -b: Non-empty line numbering.
  • -s: Single line conversion.

Examples

  • Line numbering: w-c-at -n filename1 filename2 filename3 ...
  • Non-empty line numbering: w-c-at -b filename1 filename2 filename3 ...
  • Single line conversion: w-c-at -s filename1 filename2 filename3 ...

Redirecting Output

  • >: Writes output of commands to a file.

    • Example: w-c-at -n filename1 > filename2
  • >>: Appends output of commands to a file.

    • Example: w-c-at -n filename1 >> filename2

wcat_commands's People

Contributors

utsavupadhyay08 avatar

Stargazers

 avatar

Watchers

 avatar

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.