muness / unix4j Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/unix4j
Automatically exported from code.google.com/p/unix4j
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
Request to implement the "find" command.
Original issue reported on code.google.com by [email protected]
on 26 Jul 2012 at 12:07
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
Known issues
Original issue reported on code.google.com by [email protected]
on 11 Jul 2012 at 11:58
Convert "grep" command description into new standard format
Original issue reported on code.google.com by [email protected]
on 15 Jul 2012 at 1:33
New command - cat
Original issue reported on code.google.com by [email protected]
on 26 Jul 2012 at 2:46
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
Convert "xargs" command description into new standard format
Original issue reported on code.google.com by [email protected]
on 15 Jul 2012 at 1:34
Request to implement the diff command in Unix4j
Original issue reported on code.google.com by [email protected]
on 28 Jun 2013 at 6:05
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
Request to implement the dos2unix command in Unix4j
Original issue reported on code.google.com by [email protected]
on 28 Jun 2013 at 6:05
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
This should include an overview and some examples.
Original issue reported on code.google.com by [email protected]
on 11 Jul 2012 at 11:55
Write unit tests for xargs
Original issue reported on code.google.com by [email protected]
on 15 Jul 2012 at 1:52
Request to implement the unix2dos command in Unix4j
Original issue reported on code.google.com by [email protected]
on 28 Jun 2013 at 6:06
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
Write some tests which test various chaining combinations.
Original issue reported on code.google.com by [email protected]
on 11 Jul 2012 at 11:59
Convert "Echo" command description into new standard format
Original issue reported on code.google.com by [email protected]
on 15 Jul 2012 at 1:32
Request to implement the awk command in Unix4j
Original issue reported on code.google.com by [email protected]
on 26 Jul 2012 at 12:06
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
Convert "Cut" command description into new standard format
Original issue reported on code.google.com by [email protected]
on 15 Jul 2012 at 1:24
Add unit tests for command base classes.
Original issue reported on code.google.com by [email protected]
on 15 Jul 2012 at 1:53
Request to implement the join command in Unix4j
Original issue reported on code.google.com by [email protected]
on 28 Jun 2013 at 6:30
Convert "sort" command description into new standard format
Original issue reported on code.google.com by [email protected]
on 15 Jul 2012 at 1:33
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
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
1. Which objects form the command API?
2. Which are generated, in particular, is the main command class (Ls, Echo,
...) generated?
3. Are the API objects (a) used in final runtime code or (b) copied to impl
project?
Original issue reported on code.google.com by [email protected]
on 15 Jul 2012 at 1:00
Request to implement the fmt command in Unix4j
Original issue reported on code.google.com by [email protected]
on 28 Jun 2013 at 6:35
Bring sort and uniq in line
- and comparator to uniq
- possibly also: add sort options to uniq (check man page for options)
Original issue reported on code.google.com by [email protected]
on 11 Sep 2012 at 2:25
Better add javadoc to all public & protected members as well, but the minimum
requirement for 1.0 is class level javadoc for every type.
Original issue reported on code.google.com by [email protected]
on 15 Jul 2012 at 1:21
To distribute as a "getting started" application.
As well as to maybe show on the quick-start page.
Original issue reported on code.google.com by [email protected]
on 11 Jul 2012 at 12:00
* Change Unix4j to become generated
* Every no-input command method should appear as static entry method in Unix4j
Original issue reported on code.google.com by [email protected]
on 15 Jul 2012 at 12:56
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
Request to implement the paste command in Unix4j
Original issue reported on code.google.com by [email protected]
on 28 Jun 2013 at 6:35
See sort notes / sort.xml for options which are not implemented
Original issue reported on code.google.com by [email protected]
on 11 Sep 2012 at 2:26
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
Simple page showing how to get started.
How to build.
Simple example.
Original issue reported on code.google.com by [email protected]
on 11 Jul 2012 at 11:56
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.