Sponsored Content
Full Discussion: Need help urgently
Top Forums Shell Programming and Scripting Need help urgently Post 302134768 by ajcannon on Monday 3rd of September 2007 10:40:16 AM
Old 09-03-2007
Please tell us what it is you are trying to achieve

If you could give us a sample of what you want your code to produce from the input you give it I think it would be easier for someone (not necessarily me I hasten to add) to help you out.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

link and unlink , urgently...

Hi all I did something incorrectly about link command. I try to make a link from a sub-dir to root dir, but I use the following command: link / zzz the result is sub-dir "zzz" was linked to "/" Then I want to remove the "zzz" by using unlink command: unlink zzz It say that "Device... (1 Reply)
Discussion started by: umonk
1 Replies

2. UNIX for Dummies Questions & Answers

Need Information Urgently.

Hi i dont know about the UNIX OS at all but now as my Project requires, i need to learn it as soon as possible. Could anybody please help me out in suggessting any good elementary book on UNIX OS so that atleast i can learn the commands for UNIX servers and at the same time within the short span... (3 Replies)
Discussion started by: sumit_krishan
3 Replies

3. Shell Programming and Scripting

help needed urgently

hi all i need help I am confused and stucked. Actually i am new in this scripting stuff. I want to give complete txt file as a input to a variable and then sort the data in the file according to the alpha numeric characters, as my text file contains ! and !! and !!! indicating Minor, Major and... (11 Replies)
Discussion started by: nabmufti
11 Replies

4. UNIX for Dummies Questions & Answers

CC Solution Required Urgently

Hi there, My question is: If the command cc is executed on obelix, what executable file will be run? Using the results of whereis, which and any other commands you consider necessary, explain why this file is executed. Please help as soon as possible thanks (5 Replies)
Discussion started by: satty
5 Replies

5. Solaris

most urgently about pc-routing

Hi I have knowledge is a little about Solaris 10. I have problem route Question I have two lan interfaces nge0 >> 192.168.1.1 / 24 and link up Client1 >> 192.168.1.10 not out internet (GW 192.168.1.254) nge1 >> 192.168.50.220 /24 and link up Client50 >> 192.168.50.1 can... (2 Replies)
Discussion started by: sermsuk
2 Replies

6. UNIX for Advanced & Expert Users

Help needed Urgently... Thanks in advance

You have a file called /opt/test/input.txt with the following information: man_aa_bld_100.410.040_CMD 08/14/2008 23:29:21 08/14/2008 23:31:10 SU 5339491/1 man_aa_bld_100.410.050_CMD 08/14/2008 23:29:21 08/14/2008 23:31:11 SU 5339491/1 man_aa_bld_100.410.060_CMD 08/14/2008 ... (3 Replies)
Discussion started by: jkumsi
3 Replies

7. Shell Programming and Scripting

Help need urgently....

I am new to shell scripting I am getting file sample.txt from mainframes to my unix machine Mon-Fri every 15 minutes from 9:00AM to 6:00PM. I need to Compare timestamp of sample.txt against system time via a Unix script kicked off by an Autosys job My Task is to write a shell script to monitor... (3 Replies)
Discussion started by: chinniforu2003
3 Replies

8. Shell Programming and Scripting

Script command - need help urgently

I have added script command to the .profile of the id, whose session needs to be captured. When exit command is issued, the script command exits. Is there a way to exit the parent shell also - and log off the system completely with one exit command? (8 Replies)
Discussion started by: ggayathri
8 Replies

9. Shell Programming and Scripting

Case Stmt - Need Help Urgently

Hello All, Need help urgently.. i have a scenario where i have two files 1) mireport_20111406.txt 2) PRLIHSP01_8080.2011-06-11-15_26_31 ---------- I want a query something similar to this algorithm :- Case when file_name is like mireport then extract_date=14-06-2011 when... (4 Replies)
Discussion started by: iamnoone
4 Replies

10. UNIX for Dummies Questions & Answers

Need answers urgently!!

hello guys!! need 1 favour from u all.. Can u jst tell me the answers for these ques?? 1. ls - l _____ : command to return all files that end with single digit and those with TXT extension 2. ls -l report* _______ : command to return all files that start with the word RPT except those with LOG... (1 Reply)
Discussion started by: Gan_7
1 Replies
AFINITSAMPLEFORMAT(3)													     AFINITSAMPLEFORMAT(3)

NAME
afInitSampleFormat, afInitByteOrder, afInitChannels, afInitRate - initialize audio data format for a track in an audio file setup SYNOPSIS
#include <audiofile.h> void afInitSampleFormat(AFfilesetup setup, int track, int sampleFormat, int sampleWidth); void afInitByteOrder(AFfilesetup setup, int track, int byteOrder); void afInitChannels(AFfilesetup setup, int track, int channels); void afInitRate(AFfilesetup setup, int track, double rate); PARAMETERS
setup is a valid file setup returned by afNewFileSetup(3). track specifies a track within the audio file setup. track is always AF_DEFAULT_TRACK for all currently supported file formats. sampleFormat is a symbolic constant specifying the sample format for the audio data in the track. sampleFormat must be one of AF_SAMPFMT_TWOSCOMP, AF_SAMPFMT_UNSIGNED, AF_SAMPFMT_FLOAT, or AF_SAMPFMT_DOUBLE. sampleWidth is a positive integer specifying the number of bits for each sample in the track. byteOrder is a symbolic constant specifying the byte order of the track. byteOrder must be one of AF_BYTEORDER_BIGENDIAN or AF_BYTEORDER_LITTLEENDIAN. channels is a positive integer specifying the number of channels in the track. rate is a positive double-precision floating-point number specifying the sample rate of the track. DESCRIPTION
afInitSampleFormat initializes the track to the specified sample format and sample width. afInitByteOrder initializes the track to the specified byte order. afInitChannels initializes the track to the specified number of channels. afInitRate initializes the track to the specified sample rate. ERRORS
afInitSampleFormat, afInitByteOrder, afInitChannels, and afInitRate can produce the following errors: AF_BAD_FILESETUP setup represents an invalid file setup. AF_BAD_TRACK track represents an invalid track identifier. afInitSampleFormat can also produce the following errors: AF_BAD_SAMPFMT sampleFormat does not represent a valid sample format. AF_BAD_WIDTH sampleWidth is not a valid sample width. afInitByteOrder can also produce the following error: AF_BAD_BYTEORDER byteOrder does not represent a valid byte order. afInitChannels can also produce the following error: AF_BAD_CHANNELS channels specifies an invalid number of channels. afInitRate can also produce the following error: AF_BAD_RATE rate specifies an invalid sample rate. SEE ALSO
afNewFileSetup(3), afInitFileFormat(3), afInitCompression(3), afOpenFile(3) AUTHOR
Michael Pruett <michael@68k.org> Audio File Library 0.3.6 03/06/2013 AFINITSAMPLEFORMAT(3)
All times are GMT -4. The time now is 07:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy