Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

note(4) [opensolaris man page]

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)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Script syntax...does this work?

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)
Discussion started by: 3rr0r_3rr0r
3 Replies

2. AIX

Nmon

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)
Discussion started by: jegtoro
3 Replies

3. UNIX and Linux Applications

Does anyone know BMW tool - bwm_tools-0.3.0

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)
Discussion started by: real-chess
0 Replies

4. Infrastructure Monitoring

Remove Similar entries in a File

-------------------------------------------------------------------------------- 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)
Discussion started by: Nysif Steve
2 Replies

5. Shell Programming and Scripting

String comparison: All lines in file but each within line

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)
Discussion started by: beddo
2 Replies

6. Shell Programming and Scripting

How to put content of file into a variable?

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)
Discussion started by: 14th
7 Replies

7. UNIX for Dummies Questions & Answers

/usr/local/lib is not searched by ld-linux.so by default?

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)
Discussion started by: vistastar
6 Replies

8. Programming

File content handling in c

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)
Discussion started by: jhon1257
6 Replies

9. Shell Programming and Scripting

Filename check in UNIX

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)
Discussion started by: Pratik4891
4 Replies

10. UNIX for Advanced & Expert Users

Passing resulted string name of a gzipped file as an argument to another piped tool

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)
Discussion started by: amarn
2 Replies