[Home]DeveloperTipsAndTricks

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

Showing revision 3

Contents

1. Adding EMC's Man pages to a run-in-place environment.
2. cute trick to find out who is most to blame for a particular source file.

1. Adding EMC's Man pages to a run-in-place environment.

jeppler suggests.

Run the command ". scripts/emc-environment" from the root directory of your EMC2 install and a command like "man stepgen" on its own will work. This persists only as long as the terminal it was run in exists. You can see the effect of this if you enter "echo $MANPATH." If this command returns an empty string you will have to run the script command again.

2. cute trick to find out who is most to blame for a particular source file.

 cvs annotate emc.in | awk '{print $2}' | sort | uniq -c | sort -n
(counts how many lines of the current revision were most recently touched by each author)

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions | View current revision
Edited January 7, 2008 10:20 pm by Fenn (diff)
Search:
Published under a Creative Commons License