Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 19031 - Update emerge help
Summary: Update emerge help
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-09 06:13 UTC by Martin Mokrejš
Modified: 2003-04-28 04:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2003-04-09 06:13:54 UTC
Hi,
  I think the following line could be added to the output of "emerge --help
config" command:

bash$ find /etc -iname '._cfg????_*' |  while read new; do old=`echo $new | sed
s/\._cfg0000_//`; diff -u -w $old $new; cp -i $new $old; done
Comment 1 SpanKY gentoo-dev 2003-04-09 11:45:04 UTC
etc-update does that kind of fancy stuff for you ...

the added shell stuff will just confuse many people imo ...
not to mention someone randomly testing it out might overwrite files they dont want updated ;)
Comment 2 Martin Mokrejš 2003-04-09 19:47:25 UTC
Hmm, actually I've always missed the last sentence in the "emerge --help config" output mentioning briefly etc-update. Thank for noting that, just decide yourself if for blind people wouldn't it be better to mention etc-update in the output twice... ;)
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2003-04-28 04:17:25 UTC
As noted in comments... It's already noted.