Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Re: man uses more by default' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Re: man uses more by default
Authored by: sjk on Mar 30, '02 06:50:20PM
4. If you do it the "hard way", it's better to: - rename 'more' to 'more.original'

[ Reply to This | # ]
Re: man uses more by default
Authored by: charon on Mar 31, '02 09:31:50PM
What I do is create .DIST and .OFF directories for saving original copies of distribution files (in .DIST) and for those I've deactivated (in .OFF). Less sloppy than using filename extensions, IMHO.
Agreed. Using extensions is not a crime (Unix doesn't care for extensions) but too many '.orig', '.old', '.sav', etc. files can "litter" the filesystem. Your way is cleaner, if you have to go the "hard way".. (but avoiding the "hard way" is better). Another possible solution for saving original copies is a version control system (RCS/CVS). I started using CVS for system configuration files and shell/SQL scripts. With version control, it is possible to switch back to any previous state of a file without having to deal with the naming or placing of the old files. Furthermore, you can comment changes and group file versions belonging together, etc..

[ Reply to This | # ]