Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2113 closed bug (invalid)

syntax error, time without arguments

Reported by: tradewind Owned by: axeld
Priority: normal Milestone: R1
Component: Applications/Command Line Tools Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


time without arguments returns a syntax error on haiku.

On linux it has a different behavior, time returns:

$ time

real	0m0.000s
user	0m0.000s
sys	0m0.000s

Change History (3)

comment:1 by emitrax, 11 years ago

I'm wondering if it is related to the weird sort command behavior which prints a blank line more, making the following command display the wrong output

ls -1 | sort | wc -l

the result is one line more then expected due to sort.

comment:2 by axeld, 11 years ago

Resolution: invalid
Status: newclosed

This is an internal bash command, and the version of bash that we're using is a bit older - it wass supposed to behave that way back then.

comment:3 by emitrax, 11 years ago

Perhaps a new ticket about upgrading bash?

Note: See TracTickets for help on using tickets.