TAGS(3erl) ERLANG MODULE DEFINITION TAGS(3erl)MODULE
tags - Generate Emacs TAGS file from Erlang source files.
DESCRIPTION
A TAGS file is used by Emacs to find function and variable definitions in any source file in a big project. This module can generate a
TAGS file from Erlang source files. It recognises functions, records, and defines.
EXPORTS
root([Options])
Create a TAGS file covering all files in the Erlang distribution.
file(File [, Options])
Create a TAGS file for the file `File'.
files(FileList [, Options])
Create a TAGS file for the files in the list `FileList'.
dir(Dir [, Options])
Create a TAGS file for all files in directory `Dir'.
dirs(DirList [, Options])
Create a TAGS file for all files in any directory in `DirList'.
subdir(Dir [, Options])
Descend recursively down the directory `Dir' and create a TAGS file based on all files found.
subdirs(DirList [, Options])
Descend recursively down all the directories in `DirList' and create a TAGS file based on all files found.
OPTIONS
The functions above have an optional argument, Options. It is a list which can contain the following elements:
{outfile, NameOfTAGSFile}
Create a TAGS file named `NameOfTAGSFile'.
{outdir, NameOfDirectory}
Create a file named TAGS in the directory `NameOfDirectory'.
The default behaviour is to create a file named "TAGS" in the current directory.
SEE ALSO
GNU Emacs Manual, chapter "Editing Programs", section "Tag Tables".
Erlang mode V2.0 for Emacs.
AUTHOR
Anders Lindgren
Ericsson Software Technology 1996-05-30 TAGS(3erl)
Check Out this Related Man Page
log_mf_h(3erl) Erlang Module Definition log_mf_h(3erl)NAME
log_mf_h - An Event Handler which Logs Events to Disk
DESCRIPTION
The log_mf_h is a gen_event handler module which can be installed in any gen_event process. It logs onto disk all events which are sent to
an event manager. Each event is written as a binary which makes the logging very fast. However, a tool such as the Report Browser ( rb )
must be used in order to read the files. The events are written to multiple files. When all files have been used, the first one is re-used
and overwritten. The directory location, the number of files, and the size of each file are configurable. The directory will include one
file called index , and report files 1, 2, .... .
EXPORTS
init(Dir, MaxBytes, MaxFiles)
init(Dir, MaxBytes, MaxFiles, Pred) -> Args
Types Dir = string()
MaxBytes = integer()
MaxFiles = 0 < integer() < 256
Pred = fun(Event) -> boolean()
Event = term()
Args = args()
Initiates the event handler. This function returns Args , which should be used in a call to gen_event:add_handler(EventMgr,
log_mf_h, Args) .
Dir specifies which directory to use for the log files. MaxBytes specifies the size of each individual file. MaxFiles specifies how
many files are used. Pred is a predicate function used to filter the events. If no predicate function is specified, all events are
logged.
SEE ALSO gen_event(3erl) , rb(3erl)Ericsson AB stdlib 1.17.3 log_mf_h(3erl)
Hi all,
I am a newbie in writng unix..I am using ksh shell..Does anyone know how to copy a list o files from directory A to directory B with differnt names? i.e
in Dir A, I have
RPT101.555.TXT
RPT102.666.TXT
and I want to copy those files to dir B with new naming convention..
in Dir B,... (7 Replies)
Hi Guys,
I have some basic unix knowlege but new to shell scripting. I want to replace variable values in all files in sub-directories. Any sugestion will be helpful.
Example.
Main Dir: X
Sub Dir: X1, X2, X3, X4, X5, X6.... X10
Each sub directory has file which contains variable A = 10. ... (3 Replies)
Here is the problem i now have.
i have a list of directories like this
W9888
W9848
W9752
W9748
W9683
W9680
W9674
W9558
W9366
i need to scan through those directories and bring back a similar list, except only of the directories not containing subdirectories called "ebooks" or... (4 Replies)
Hello,
I have a very big directory with lots of small files. Just doing a single "ls" takes eternity, so I even can't know how many files the directory has.
I need to get the newest files in the last 15 minutes, but I can't get an eficient way of doing it. I've tried find, perl, shell script,... (4 Replies)
Hi. I have a problem that i can't seem to resolve. I need to create a script that list all the files, that are found recursively, with the same name.
For example if a file exists in more than one directory with the same name it list all the files that he founds with all the info. Could someone... (5 Replies)
Hi everyone. I am trying to write a bash script that will copy files from one directory to another but I need to be able to check the directory that I'm copying the files to and see if the file already exists. If it does I need to add a number at the end of the copied file. Thanks for your help. (3 Replies)
Hello All,
I am application admin. I need to clear all the temporary files cleared by the applications. I need help/suggestion that is there any way to create a file system such that every Dir created in by any user will have 775 permissions. So, that i can simply clear the temporary file which... (6 Replies)
Hello all. Newbie here.
In a directory, I have 50 files and one additional file that is a list of the names of the 50 files. I would like to create a directory for each of the 50 files, and I need the 50 directory names to correspond to the 50 file names. I know this can be done by running... (6 Replies)
i need help with this homework. PLEASE
Assignment:
Create a directory "preFinal" in your home directory. Create empty files "a", "b", "c", etc in directory preFinal in the amount that match the number of directories preFinal*
This the code i have within Vi editor. But it is not working all... (3 Replies)
1. The problem statement, all variables and given/known data:
Create a makefile for a set of source files. Several sources files are given but we are not allowed to modify them. The goal is to create a makefile such that if a change is made to any of the source code files, the project can be... (5 Replies)
Hi UNIX Experts,
Kindly help me in this requirement where i want to move files based on its status.
For Eg:
I have 3 dir's
--FileBox Dir
this directory will have all the files which i need to process (in informatica ETL Tool)
--Succeeded Dir
this directory will have files which... (4 Replies)
good morning friends
I have a problem
, I have a file with 2 million records, but that can be variable, I need to split that file and drop several files in 500,000 thousand records, someone can help me with some unix shell code
thank you!!! (7 Replies)