Giter Club home page Giter Club logo

unix4j's People

Contributors

benjwarner avatar terzerm avatar

unix4j's Issues

Second command joined after xargs is broken and no output is received

What steps will reproduce the problem?
Unix4j.from(input).cat().xargs().echo(Arg.$all).sort().toStdOut()

What is the expected output? What do you see instead?
expected output is the sorted output of the cat.

Please use labels and text to provide additional information.
The sort breaks the chain. Reason is XargsCommand.join(..) which should now 
produce a joined command.


Original issue reported on code.google.com by [email protected] on 6 Nov 2013 at 8:41

New command - cd

Add cd command and introduce an env object with environment state such as 
current working dir etc.

Original issue reported on code.google.com by [email protected] on 26 Jul 2012 at 2:47

Spend more time with grep.

Grep is pretty powerful on the command line.  It would be nice if you could add 
more of the features.

Here is a set that I typically use.
 grep -A 10 -B 10 -H FILE *.txt

Add 10 lines after context and 10 lines before.  Print the name of the file as 
a prefix to the output.

What version of the product are you using? On what operating system?

0.3




Original issue reported on code.google.com by [email protected] on 4 Sep 2013 at 1:42

Write up FAQ page for wiki

Simple FAQ.  Please note all initial FAQ questions in this issue.

1. Will there be more commands coming?
2. How are line endings handled in Unix4j.


Original issue reported on code.google.com by [email protected] on 11 Jul 2012 at 11:57

Grep does not print the linenumber in front of each line as per the documentation

What steps will reproduce the problem?
1. Run a test case in Java
2. Unix4j.grep(Grep.Options.lineNumber, "sql", "QueryLog.Fri").toStdOut();

What is the expected output? What do you see instead?

It is expected to have a line number next to the output of each line

What version of the product are you using? On what operating system?
0.3
Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 4 Sep 2013 at 1:40

Code review request

Branch name: bens.argument.refactor

Hey dude. Could you please have a look at my changes.  See what you think.

You looooooove it!

Original issue reported on code.google.com by [email protected] on 30 May 2012 at 12:29

Cannot run on J2SE 6

What steps will reproduce the problem?
1. use jdk6 load class Unix4j

What is the expected output? What do you see instead?
run correctly, but outputs: 
{{{
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
org/unix4j/Unix4j : Unsupported major.minor version 51.0
}}}

What version of the product are you using? On what operating system?
mac 10.6 + jdk6

Please provide any additional information below.
--

I don't if unix4j supports j2se 6, if supports you can assign the compile fit 
j2se 6.

Original issue reported on code.google.com by [email protected] on 8 Jul 2013 at 3:11

Code review request

Branch name: marco-args

When reviewing my code changes, please focus on:
...args package

After the review, I'll merge this branch into:
yours, then master

cheers,
marco

Original issue reported on code.google.com by [email protected] on 30 May 2012 at 4:10

Write parser to extract javadoc from Java source file during codegen

Currently, javadoc text for generated classes must be provided through the 
@Javadoc annotation. However, this is not very convenient and looks not nice in 
the javadoc of the API class itself.

This enhancement adds support to write javadoc directly instead of via @Javadoc 
annotation. The source file must then be parsed during code generation and 
added to the data model for codegen.

Original issue reported on code.google.com by [email protected] on 15 Jul 2012 at 1:57

Acronym for options: provide a way to distinguish between the long name and the acronym

With the new @Acronym annotation, only the long name option exists in the 
option enum for a command. As a consequence, the command's toString() 
representation always prints the long option names.

It would be nice to provide a way to print short option names if they are 
passed to the command through the acronym, e.g. for the "ls" command, if one 
writes

ls(Ls.Options.l.a)

the command to string should be

ls -la

instead of 

ls --longFormat --allFiles

One way to achieve this is by adding a new method  to OptionSet:
boolean useOptionAcronym()

This flag should then be set in the generated OptionSet. There are different 
possibilities to do this
(a) when the first chosen option is an acronym
(b) when the last chosen option is an acronym
(c) when any chosen option is an acronym

Note: it is not very practical to distinguish between acronym and long option 
name on a per-option basis.

Original issue reported on code.google.com by [email protected] on 15 Jul 2012 at 12:26

Unit test with asserts for "ls" command

1. create a resource directory for the "ls" unit tests, asserted tests refer to 
this directory
2. add asserts to the tests
3. test/assert each option at least once

Original issue reported on code.google.com by [email protected] on 15 Jul 2012 at 12:47

Review standard javadoc format for commands

Currently, the command javadoc starts with <b>NAME</b> with the consequence 
that only NAME is visible in the command list e.g. on the package page in 
javadoc. We have to make sure that a short command description makes up the 
first javadoc sentence.

Original issue reported on code.google.com by [email protected] on 15 Jul 2012 at 1:18

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.