The purpose of those comands are to find the newest file in a directory acvrdind to system date, and it has to be recursively found in each directory.
The problem is that i want to list in a long format every found file, but the commands i use produce unexpected results ,so the output lists in a... (5 Replies)
hi everyone,
can someone suggest how i can list the contents of a directory and display their corresponding last modify time in the format yyyymmddhhmm?
thanks in advance! (16 Replies)
I have a file such that
List : a, b, c, d
I want to list this as
List
a
b
c
d
however the trick is the number of arguments in the list is varies. There might be 0-7 variables .
Can you help me?
Please use code tags when posting data and code samples! (5 Replies)
Hello Guys,
I am working on a script and using the below code to fetch the list of all repositories
CHDIR='/mnt/scm/subversion/'
repolist()
{
cd ${CHDIR}
Repo=`ls|cut -d " " -f1`
echo $Repo
}
Output of the above code is
BSB CIB COB DCI DIB DSB ESB-P ESB-TOOLS FareVerify GCACHE GWY... (15 Replies)
Hi I have multiple files in a folder and one file which contains a list of files (one on each line). I was to search for a string only within these files and not the whole folder. I need the output to be in the form
File1<tab>string instance 2<tab> string instance 2<tab>string instance 3... (6 Replies)
Hi Unix Gurus,
I would like to rename several files in a Unix Directory . The filenames can have more than 1 underscore ( _ ) and the last underscore is always followed by a date in the format mmddyyyy. The Extension of the files can be .txt or .pdf or .xls etc and is case insensitive ie... (1 Reply)
Hi Gurus,
I have some weird issue. when using
ls -l
the result shows different time format:
-rw-r--r-- 1 abc gourp1 3032605576 Jun 14 2013 abc
-rw-rw-r-- 1 abc gourp1 1689948832 Aug 10 06:22 abc
one display 2013 which is year; another one displays 06:22 which is time.
... (4 Replies)
Hi All,
In the file names we have dates.
Based on the file format given by the user,
if any file is not existed for a particular date with in a given interval we should consider that file is missing.
I have the below files in the directory /bin/daily/voda_files.
... (9 Replies)
Hi,
Not sure how to describe the problem. But basically, I have this file listing here
app01_app.test.com.ph|PROGRAM=SQL Developer|HOST=AKL0TS100|USER=Admtest01|HOST=10.111.12.23|
app02_app.test.com.ph|PROGRAM=D:\interface\apps\bin32\batch.exe|HOST=AKL0TS100|USER=Admtest09|HOST=10.111.12.35|... (3 Replies)
Discussion started by: newbie_01
3 Replies
LEARN ABOUT OPENDARWIN
reserve_voices
reserve_voices(3alleg4) Allegro manual reserve_voices(3alleg4)NAME
reserve_voices - Reserve a number of voices for the digital and MIDI drivers. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void reserve_voices(int digi_voices, int midi_voices);
DESCRIPTION
Call this function to specify the number of voices that are to be used by the digital and MIDI sound drivers respectively. This must be
done _before_ calling install_sound(). If you reserve too many voices, subsequent calls to install_sound() will fail. How many voices are
available depends on the driver, and in some cases you will actually get more than you reserve (eg. the FM synth drivers will always pro-
vide 9 voices on an OPL2 and 18 on an OPL3, and the SB digital driver will round the number of voices up to the nearest power of two). Pass
negative values to restore the default settings. You should be aware that the sound quality is usually inversely related to how many voices
you use, so don't reserve any more than you really need.
SEE ALSO set_volume_per_voice(3alleg4), install_sound(3alleg4), detect_digi_driver(3alleg4), detect_midi_driver(3alleg4), get_mixer_voices(3alleg4)Allegro version 4.4.2 reserve_voices(3alleg4)