Code Monkey home page Code Monkey logo

concat's Introduction

concat

This is a simple command line tool for concatenating multiple files.

Build

In terminal go to the root directory of this codebase and run the following command:

make concat

This will create the executable concat in a build directory.

Usage

Options

####-o This command line option allows you to specify a file to write the concatenated output to. The -o argument is to be followed with the file path of the output file.

Examples

Concatenate two files with output written to STDOUT:

./build/concat file1.txt file2.txt

Concatenate two files and write output to a file by redirecting STDOUT:

./build/concat file1.txt file2.txt > out.txt

Concatenate two files and write output to a file by using command line argument to specify output file:

./build/concat -o out.txt file1.txt file2.txt

concat's People

Contributors

sandersky avatar

Watchers

 avatar  avatar

concat's Issues

Make code more useful to others

Comment the code and perform cleanup to make it easier for others to interpret without having to study the codebase first.

Further code cleanup

The code needs to b commented better, possibly broken into smaller functions for code complexity sake, and made a little easier to comprehend (especially the code that checks for the //= require "file/path" statements).

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.