6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Can this be done and if yes how?
I have 10 directories that end with the name 'cuff'
eg dir1-cuff , dir2-cuff
All these directories have a file named xyz.gtf
How do I run the same code for each directory and print an output inside the directory
something like
for dir in *cuff... (3 Replies)
Discussion started by: newbie83
3 Replies
2. Shell Programming and Scripting
Hi everybody,
I had 10 files in in one folder(/home/sai/) namely sai.
1.gz,2.gz,3.gz ..,10.gz.
I want to delete the files which are there home based on the following conditions
fliecount in sai folder==10 && grep -cv ".gz"==0
How to check this using awk?
Otherwise please... (2 Replies)
Discussion started by: p_sai_ias
2 Replies
3. Shell Programming and Scripting
Hello Gyues!
I would like to use awk to perform data extraction from several files. The data files look like this:
DWT26R 1 PEP1 CA 1 OH2 SKIPPED: 0 STEP: 1
0.29000E+01 0.55005E-02 0.60012E-03
0.30000E+01 0.11149E+00 0.13603E-01
0.31000E+01 0.39719E+00 0.63013E-01
0.32000E+01... (9 Replies)
Discussion started by: Daniel8472
9 Replies
4. Shell Programming and Scripting
Hey everybody, I have a script for making a string substitution in a file. I am trying to modify it in order to make the same modifcation to multiples files. here is what I have so far.
#!/bin/csh
set p1="$1"
shift
set p2="$1"
shift
foreach x ($*)
if ( { grep -w -c "$p1" $x } ) then
mv... (7 Replies)
Discussion started by: iwatk003
7 Replies
5. Shell Programming and Scripting
Hello,
I would like to delete all the footnotes in all my htm files. Hence, I have to delete the whole font tag pairs, i.e. deleting everything between the begin/end font tags.
I create a testfile, of which data parts of all four lines are the same except for the number of font tag pairs,... (3 Replies)
Discussion started by: cibalo
3 Replies
6. Shell Programming and Scripting
Hi,
There is this requirement to create multiple work sheets in an MS Excel file through UNIX.
We normally can create one work sheet in unix by either tab or comma delimiting and appending .xls or .csv to the file name, but can we create multiple work sheets.
Regards,
Puspendu (1 Reply)
Discussion started by: puspendu
1 Replies
Audio::File::AudioProperties(3pm) User Contributed Perl Documentation Audio::File::AudioProperties(3pm)
NAME
Audio::File::AudioProperties - abstract an audio files audio properties.
DESCRIPTION
Audio::File::AudioProperties is the base class for other file format independant audio property classes like
Audio::File::Flac::AudioProperties or Audio::File::Ogg::AudioProperties. You should not use this class yourself exept you're writing an own
file format dependant subclass.
METHODS
new
Constructor. Creates new Audio::File::AudioProperties object. You shoud not use this method yourself. It's called by the filetype-dependant
subclasses of Audio::File::Type automatically.
init
Initializes the object. It's called by the constructor and empty by default. It's ought to be overwritten by subclasses.
length
Returns the length of the audio file in seconds.
bitrate
Returns the bitrate of the file.
sample_rate
Returns the sample rate of the audio file.
channels
Returns the number of channels the audio file has.
all
Get all audio properties.
SEE ALSO
Audio::File, Audio::File::Type, Audio::File::Tag
AUTHOR
Florian Ragwitz <flora@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2004 Florian Ragwitz
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
perl v5.10.0 2005-02-18 Audio::File::AudioProperties(3pm)