note(4) File Formats note(4)NAME
note - specify legal annotations
SYNOPSIS
/usr/lib/note
DESCRIPTION
Each file in this directory contains the NOTE (also _NOTE) annotations legal for a single tool. The name of the file, by convention,
should be the tool vendor's stock name, followed by a hyphen, followed by the tool name. For example, for Sun's lock_lint tool the filename
should be SUNW-lock_lint.
The file should contain the names of the annotations understood by the tool, one per line. For example, if a tool understands the follow-
ing annotations:
NOTE(NOT_REACHED)
NOTE(MUTEX_PROTECTS_DATA(list_lock, list_head))
then its file in /usr/lib/note should contain the entries:
NOT_REACHED
MUTEX_PROTECTS_DATA
Blank lines, and lines beginning with a pound (#), are ignored.
While /usr/lib/note is the default directory tools search for such files, they can be made to search other directories instead simply by
setting environment variable NOTEPATH to contain the paths, separated by colons, of directories to be searched, e.g.,
/usr/mytool/note:/usr/lib/note.
USAGE
These files are used by such tools whenever they encounter NOTEs they do not understand. If a file in /usr/lib/note contains the annota-
tion, then it is valid. If no such file contains the annotation, then the tool should issue a warning complaining that it might be invalid.
ENVIRONMENT VARIABLES
NOTEPATH specify paths to be searched for annotation files. Paths are separated by colons (":").
SEE ALSO NOTE(3EXT)SunOS 5.11 17 Jan 1995 note(4)
Check Out this Related Man Page
NOTEDB::dbm(3pm) User Contributed Perl Documentation NOTEDB::dbm(3pm)NAME
NOTEDB::dbm - module lib for accessing a notedb from perl
SYNOPSIS
# include the module
use NOTEDB;
# create a new NOTEDB object (the last 4 params are db table/field names)
$db = new NOTEDB("mysql","note","/home/user/.notedb/");
# get a single note
($note, $date) = $db->get_single(1);
# search for a certain note
%matching_notes = $db->get_search("somewhat");
# format of returned hash:
#$matching_notes{$numberofnote}->{'note' => 'something', 'date' => '23.12.2000 10:33:02'}
# get all existing notes
%all_notes = $db->get_all();
# format of returnes hash like the one from get_search above
# get the next noteid available
$next_num = $db->get_nextnum();
# recount all noteids starting by 1 (useful after deleting one!)
$db->set_recountnums();
# modify a certain note
$db->set_edit(1, "any text", "23.12.2000 10:33:02");
# create a new note
$db->set_new(5, "any new text", "23.12.2000 10:33:02");
# delete a certain note
$db->set_del(5);
DESCRIPTION
You can use this module for accessing a note database. This is the dbm module. It uses the DB_FILE module to store it's data and it uses
DBM files for tis purpose.
Currently, NOTEDB module is only used by note itself. But feel free to use it within your own project! Perhaps someone want to implement a
webinterface to note...
USAGE
please see the section SYNOPSIS, it says it all.
AUTHOR
Thomas Linden <tom@daemon.de>.
perl v5.10.1 2011-02-12 NOTEDB::dbm(3pm)
Hi all, I'm just a basic unix scripto...does the following lines work??
I saw this lines from a script I was about to modify, please take note that these are not the original directories and the sign ( " ) is in there.
"/destination/directory" "/origin/directory"
If I add a command line in... (3 Replies)
HI I´m new on this world.
I´m working with nmon and I understand that this tool generates a files that later with excel I can see the graphcial of my server.
The problem is that this process is execute manualy and I need to meake automatic.
How can I do That.
Sorry for my english!! :o (3 Replies)
Does anyone know BMW - bwm_tools-0.3.0 from "http://bwm-tools.pr.linuxrulz.org".
I have error on make installing on opensuse 11.0, see logs.
# make
make all-recursive
make: Entering directory `/opt/bwm_tools-0.3.0'
Making all in lib
make: Entering directory `/opt/bwm_tools-0.3.0/lib'... (0 Replies)
--------------------------------------------------------------------------------
I have a log file "logreport" that contains several lines as seen below:
04:20:00 /usr/lib/snmp/snmpdx: Agent snmpd appeared dead but responded to ping
06:38:08 /usr/lib/snmp/snmpdx: Agent snmpd appeared... (2 Replies)
Hi folks,
I'm trying to do a bit of extra monitoring on who is sending mail through our server and as I'm sure you'll understand, the log files aren't exactly small.
As a note, I'm working to sort out a solution to this myself, so I'll keep editing the post when I get a chance.
Here an example... (2 Replies)
For example, I have a simple text file
note:
this a note
a simple note
a very very simple notewhen I use this command,
temp=$(cat "note.txt")then I echo temp, the result is in one line.
echo $temp
note: this a note a simple note a very very simple noteMy variable doesn't have newline.
How... (7 Replies)
it seems that /usr/local/lib is not searched by ld-linux.so by default in fedora14.
If so, why some software put its lib files in /usr/local/lib? eg: glib and gtk+. (6 Replies)
HI,
I have a file with the following content like
--------filename-----------
this is a tool
end
--------filename-----------
this is a tool
this is a box
end
--------filename-----------
these are tools
these are boxes
this is one
end
i want to write the content to another file as... (6 Replies)
Hello ,
I have to search for the file names which will either has ABC_DEF or NN in their filename
Please note that both cannot appear in the same file name
currently I am using
ls -lrt /zthetl/SrcFiles/*ABC_DEF*.xls| head -1 | nawk '{print $9}'
How to combine the NN in this code?... (4 Replies)
Hi,
I have a .pcap.gz file and I would like to initially gzip it and then pass the resulting .pcap filename as an argument to a piped tool; the right-hand tool is not standardized linux tool but a custom one that strictly requires the string name of a given .pcap file in order for the pcap file... (2 Replies)