Ok.

I'll work on that. :)

Att;
Daniel Cunha (soro)
Sent from my cell phone.
On May 15, 2014 4:40 PM, "Ståle W. Pedersen" <notifications@github.com>
wrote:

> In src/main/java/org/jboss/aesh/extensions/touch/Touch.java:
>
> > +    public CommandResult execute(CommandInvocation commandInvocation)
> > +        throws IOException {
> > +
> > +        if (help) {
> > +            commandInvocation.getShell().out().print(commandInvocation.getHelpInfo("touch"));
> > +            return CommandResult.SUCCESS;
> > +        }
> > +
> > +        if (arguments == null || arguments.size() < 1) {
> > +            commandInvocation.getShell().out().print("touch: Invalid arguments");
> > +            return CommandResult.FAILURE;
> > +        }
> > +
> > +        try {
> > +            for (File file : arguments) {
> > +                file.createNewFile();
>
> i dont think touch should ever override the content of the file if that is
> what you're thinking. imo it should try to work as similar to the
> posix/linux version as possible..
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/aeshell/aesh-extensions/pull/7/files#r12709054>
> .
>