07-24-2011
Actually i forgot to mention but i already tried this...
and it gave the following error:
"Argument list too long".
Can you help me with this ? Thanks so much for you reply!
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
How do i find out the number of files in a directory using unix command ? (14 Replies)
Discussion started by: Raynon
14 Replies
2. Shell Programming and Scripting
I've written a script to count the total size of SAN storage LUNs, and also display the LUN sizes.
From server to server, the LUNs sizes differ.
What I want to do is count the occurances as they occur and change.
These are the LUN sizes:
49.95
49.95
49.95
49.95
49.95
49.95
49.95
49.95... (2 Replies)
Discussion started by: cyber111
2 Replies
3. Shell Programming and Scripting
what's the script to do that?
i want to only count the number of files in that directory, not including any sub directories at all (5 Replies)
Discussion started by: finalight
5 Replies
4. Shell Programming and Scripting
I need to count the number of occurrences of a pattern, say 'key', between each occurrence of a different pattern, say 'lu'.
Here's a portion of the text I'm trying to parse:
lu S1234L_149_m1_vg.6, part-att 1, vdp-att 1 p-reserver IID 0xdb
registrations:
key 4156 4353 0000 0000
... (3 Replies)
Discussion started by: slipstream
3 Replies
5. UNIX for Dummies Questions & Answers
Hello, I'm trying to create a BASH file that can read all the files in my working directory and tell me how many words and lines are in that file. I wrote the following code:
FILES="*"
for f in "$FILES"
do
echo -e `wc -l -w $f`
done
My issue is that my file is outputting in one... (4 Replies)
Discussion started by: jl487
4 Replies
6. Shell Programming and Scripting
how to count the total number of lines of all the files under a directory using perl script..
I mean if I have 10 files under a directory then I want to count the total number of lines of all the 10 files contain. Please help me in writing a perl script on this. (5 Replies)
Discussion started by: adityam
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Please let me know how to find out number of files in a directory excluding existing files..The existing file format will be unknown..each time..
Thanks (3 Replies)
Discussion started by: ammu
3 Replies
8. Shell Programming and Scripting
Hi!
I just want to count number of files in a directory, and write to new text file, with number of files and their name
output should look like this,,
assume that below one is a new file created by script
Number of files in directory = 25
1. a.txt
2. abc.txt
3. asd.dat... (20 Replies)
Discussion started by: Akshay Hegde
20 Replies
9. Shell Programming and Scripting
hi I am trying to write a script to count the number of files, with slightly different subset name, in a directory
for example, in directory /data, there are a subset of files that are name as follow
/data/data_1_(1to however many).txt
/data/data_2_(1 to however many).txt... (12 Replies)
Discussion started by: piynik
12 Replies
10. Shell Programming and Scripting
I have a directory of files, each with a variable (though small) number of lines. I would like to go through each line in each file, and print the:
-file name
-line number
-number of matches to the pattern /comp/ for each line.
Two example files:
cat... (4 Replies)
Discussion started by: pathunkathunk
4 Replies
LEARN ABOUT FREEBSD
dwarf_add_frame_cie
DWARF_ADD_FRAME_CIE(3) BSD Library Functions Manual DWARF_ADD_FRAME_CIE(3)
NAME
dwarf_add_frame_cie -- add a call frame common information entry to a DWARF producer instance
LIBRARY
DWARF Access Library (libdwarf, -ldwarf)
SYNOPSIS
#include <libdwarf.h>
Dwarf_Unsigned
dwarf_add_frame_cie(Dwarf_P_Debug dbg, char *augmenter, Dwarf_Small caf, Dwarf_Small daf, Dwarf_Small ra, Dwarf_Ptr initinst,
Dwarf_Unsigned initlen, Dwarf_Error *err);
DESCRIPTION
Function dwarf_add_frame_cie() adds a DWARF call frame common information entry (CIE) to a producer instance.
Argument dbg should reference a DWARF producer instance allocated using dwarf_producer_init(3) or dwarf_producer_init_b(3).
Argument augmenter should point to a NUL-terminated augmentation string for the common information entry.
Argument caf specifies the code alignment factor.
Argument daf specifies the data alignment factor.
Argument ra specifies the column number used for the return address register.
Argument initinst should point to a byte stream containing the initial instructions for the common information entry.
Argument initlen should hold the length in bytes of the byte stream pointed to by argument initinst.
If argument err is not NULL, it will be used to store error information in case of an error.
RETURN VALUES
On success, function dwarf_add_frame_cie() returns the index value of the created common information entry. In case of an error, function
dwarf_add_frame_cie() returns DW_DLV_NOCOUNT and sets the argument err.
ERRORS
Function dwarf_add_frame_cie() can fail with:
[DW_DLE_ARGUMENT] Argument dbg was NULL.
[DW_DLE_MEMORY] An out of memory condition was encountered during the execution of the function.
SEE ALSO
dwarf(3), dwarf_add_fde_inst(3), dwarf_add_frame_fde(3), dwarf_add_frame_fde_b(3), dwarf_fde_cfa_offset(3), dwarf_new_fde(3),
dwarf_producer_init(3), dwarf_producer_init_b(3)
BSD
September 26, 2011 BSD