www.delorie.com/gnu/docs/gcc/gnat_ug_169.html   search  
 
Buy the book!


Untitled Document

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

13.2 Using gnatkr

The gnatkr command has the form

 
$ gnatkr name [length]

name can be an Ada name with dots or the GNAT name of the unit, where the dots representing child units or subunit are replaced by hyphens. The only confusion arises if a name ends in .ads or .adb. gnatkr takes this to be an extension if there are no other dots in the name^ and the whole name is in lowercase^^.

length represents the length of the krunched name. The default when no argument is given is ^8^39^ characters. A length of zero stands for unlimited, in other words do not chop except for system files which are always ^8^39^.

The output is the krunched name. The output has an extension only if the original argument was a file name with an extension.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003