Opened 14 years ago

Last modified 6 years ago

#6428 new enhancement

Consistent naming of *attr cli commands

Reported by: humdinger Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Command Line Tools Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

An old pet peeve of mine:
There's lsindex, mkindex, reindex, rmindex , all named according to the standard commands ls, mk*, rm . Nice.

But then there's addattr, catattr, copyattr, listattr, rmattr .
Here it's more a mix and match. Not so nice.

How about adding

alias cpattr="copyattr"
alias lsattr="listattr"

to data/etc/profile? That wouldn't break old scripts and still increases consistency. Or would it be possible/even cleaner to reverse these lines in profile and rename the binaries themselves?

Change History (2)

comment:1 by Disreali, 14 years ago

I think renaming the binaries would be the way to go, at least from an aesthetic view. Not sure how that would affect the system and existing scripts.

comment:2 by waddlesplash, 6 years ago

Milestone: R1Unscheduled
Note: See TracTickets for help on using tickets.