Opened 9 years ago

Last modified 14 months 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:
Has a Patch: no 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 Changed 9 years ago by Disreali

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 Changed 14 months ago by waddlesplash

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