This helps to get a quick overview of the purpose of files and directories located in a certain directory.
The file header must have the (very simple to remember) format:
Between the filename, the - and the description text has to be only one space each.
The filename has to be identical to the real filename. See also scriptheadersync(1) to see how to efficiently synchronize file headers with the real file name.
If you do hard- or symbolic links to a file, each name of the file has to have an own description line in the header.
If the original file does not have a header entry of the symlinked file, the header entry of the original file is displayed.
If the file has been saved using the sav(3) command or if it is a backuped recovery script file as found in the .sav directories of a recovery script tree handled by edrc(1m), the name command can also display the header information.
If all the methods above do not succeed or if it is a directory, the index file ..name_index is consulted for the file header information.
Binary files are not scanned for file header patterns.
#!/bin/sh # # busy - keep the line open # # [00] 28.02.2001 CWa Initial Version #
# # /etc/hosts - internet host names # # [00] 28.02.2001 CWa Initial Version # #
127.0.0.1 localhost
192.168.75.1 rh7mzv7t001
; ; /etc/samba/smb.conf - samba configuration file ; ; [00] 28.02.2001 CWa Initial Version ; ; [global] workgroup = MYGROUP server string = %h
-- -- TopTen.sql - Reports lists DB statistics -- -- [00] 31.1.2003 CBi Initial -- select a.tablespace_name, a.bytes/1024 as total_kbytes,
.\" .\" name.1 - manpage for name .\" .\" [00] 30.11.2003 CWa Initial Version .\"
This is free software; see edrc/doc/COPYING for copying conditions. There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.