Sponsored Content
Top Forums Shell Programming and Scripting Having a single Log file for all the shell scripts Post 302927660 by Corona688 on Thursday 4th of December 2014 11:19:23 AM
Old 12-04-2014
Nope. Since you're not opening a file, just copying a stream, nothing's truncated.
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Plz Help To convert xml file to text file using bourn shell scripts

If someone out there could help me out with this problem. I would really appreciate it. I am trying to convert xml into text file(fixed length) using Unix Borne shell scripts. My xml file: <root> <header_rec recordtype="00"> <record_id>00</record_id> <country_code>AK></country_code>... (0 Replies)
Discussion started by: ram2s2001
0 Replies

2. Shell Programming and Scripting

shell scripts that parse log files

hi all ,i would like a shell script that parses log files and checks the contents for any anonalities,please help,thanks (4 Replies)
Discussion started by: trueman82
4 Replies

3. Shell Programming and Scripting

FTP is using shell scripts create ? for file

ftp -n -v <<EOF verbose open 3.57.40.79 user infodvlp pr0gram ascii lcd /home/a501420038/GLA/Success_Load/ cd /ftp/SrcFiles/csg/InstruAsia/ get AU_Success_Log.txt close quit EOF Please help on this, this gives the out put "AU_Success_Log.txt?" As question mark in the last what will... (1 Reply)
Discussion started by: a501420038
1 Replies

4. Shell Programming and Scripting

how to log if the program contains both bourne-shell & pearl scripts

I have a program (say, MyProgram) written in Bourne-shell script, but at some point it calls another script written in pearl, as illustrated below: #!/bin/sh ..... case $x in 1) ConfigSystem1 ( b-shell script) 2) ConfigSystem2 ( pl) 3) ConfigSystem3 (b-shell) .... Then I create... (0 Replies)
Discussion started by: bluemoon1
0 Replies

5. Shell Programming and Scripting

shell scripts to grep dn in ldif file

Hi gurus out there, 1)I am using ksh, in solaris 10. 2)I have one ldif file, I need to output user DN with attributes=<some pattern> to a file. Example: dn: uid=joy,ou=People,o=abc.com,o=isp nswmExtendedUserPrefs: meAutoSign=true nswmExtendedUserPrefs: meSignature=Regards, Joy... (3 Replies)
Discussion started by: bulkbiz
3 Replies

6. Shell Programming and Scripting

Need shell script to read two file at same time and print out in single file

Need shell script to read two file at same time and print output in single file Example I have two files 1) file1.txt 2) file2.txt File1.txt contains Aaa Bbb Ccc Ddd Eee Fff File2.txt contains Zzz Yyy Xxx (10 Replies)
Discussion started by: sreedhargouda
10 Replies

7. UNIX Desktop Questions & Answers

creating an executable file from shell scripts

Hi Friends, I have a shell script which does some operations etc, would it be possible to create an executable file out from this shell script? meaning the executable file is not editable, thus the source code will not be visible to other users for copyright reasons. Please help, thanks! (1 Reply)
Discussion started by: kokoro
1 Replies

8. Shell Programming and Scripting

Shell scripting - need to arrange the columns from multiple file into a single file

Hi friends please help me on below, i have 5 files like below file1 is x 10 y 20 z 15 file2 is x 100 z 245 file3 is y 78 z 23 file4 is x 100 (3 Replies)
Discussion started by: siva kumar
3 Replies

9. Shell Programming and Scripting

Combining two scripts into a single script

Hi Folks, I have two scripts that are used to start and stop services these scripts are at the location /opt/app/tre , so that start.sh internally starts the components and stop.sh internally stop all the components, now rite now if I have to stop the services then i need to go first the... (9 Replies)
Discussion started by: punpun66
9 Replies

10. Shell Programming and Scripting

Log file is not updating when I run shell scripts scheduled thru crontab

Hi Forum, Good Day! I have created an empty html file wtih permissoin 777 created shell script(with permission 777) , code is below. #=======================start============== . /data09/oracle/apps_st/appl/D_oraapp095.env rm -rf /home/mnp/Test_log.txt echo... (1 Reply)
Discussion started by: kartheekbk
1 Replies
roar_simple_play(3)					System Manager's Manual: RoarAudio				       roar_simple_play(3)

NAME
roar_simple_play, roar_simple_monitor, roar_simple_record, roar_simple_filter - Simple playback, monetoring, recording or filtering via RoarAudio SYNOPSIS
#include <roaraudio.h> int roar_simple_play(int rate, int channels, int bits, int codec, char * server, char * name); int roar_simple_monitor(int rate, int channels, int bits, int codec, char * server, char * name); int roar_simple_record(int rate, int channels, int bits, int codec, char * server, char * name); int roar_simple_filter(int rate, int channels, int bits, int codec, char * server, char * name); DESCRIPTION
Open a connection to the roard(1) and creates a new stream for playback, monetoring, recording or filtering. After you are done you need to close the connection via roar_simple_close(3). In case you just don't do anything with the stream the server will kick your connection, or, in case of playback warns the user about underruns. All those functions are marked obsolete and will be removed soon. Please upgrade to VS API. See roar_vs_new_simple(3). PARAMETERS
rate The sample rate of the stream. channels The nummber of channels in the stream. bits The number of bits per sample of the stream. Commen values are 8 and 16. codec The Codec of the data you stream to the server. This has nothing to do with codec of the file you are playing back or encoding. Default (ROAR_CODEC_DEFAULT) is ROAR_CODEC_PCM_S_BE for signed PCM in big endian. server The name of the server. A value of NULL (common case) is used to try default locations. name The name of the process opening this stream to be listend in the servers meta data. Should normaly be the name of the player with- out any path or filename being played. If NULL an internal default is used. NOTES ON FILTER STREAMS
Filtering streams should not expected to work with diffrent audio data than the server works with. You should get the values via roar_server_oinfo(3) before opening the stream. RETURN VALUE
On success these calls return a filehandle for the stream. On error, -1 is returned. EXAMPLES
Examples of these calls are the tools roarcat(1), roarmon(1), roarrec(1) and roarfilt(1). Just look at there code. They aren't that com- plex. SEE ALSO
roar_vs_new_simple(3), roarcat(1), roarmon(1), roarrec(1), roarfilt(1), roar_server_oinfo(3), roar_simple_close(3), libroar(7), RoarAu- dio(7). RoarAudio May 2011 roar_simple_play(3)
All times are GMT -4. The time now is 02:21 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy