05-20-2005
Try nawk or gawk instead of awk. My SunOS system has an old version of awk.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Ho do I differentiate system call from library call?
for example if I am using chmod , how do I find out if it is a system call or library call?
Thanks
Muru (2 Replies)
Discussion started by: muru
2 Replies
2. Shell Programming and Scripting
Hi. This is my first post on the forums.
I am trying to write a script that will parse a folder of files "oneverylongfilenamexyz.pdf" and create a .dat file named "oneverylongfilenamexyz.dat" with the first line of each .dat file saying variable="xyz" where xyz is the last 14 characters of $i... (4 Replies)
Discussion started by: attonbitusira
4 Replies
3. Shell Programming and Scripting
So, I have this script. It reads a CSV file that has a mixture of object names with IP addresses (parsing out that part I have working), and object names which have a DNS name. I want to be able to run a "dig +short" based off of the name given to me in the line of the awk script, and then deal... (6 Replies)
Discussion started by: mikesimone
6 Replies
4. Shell Programming and Scripting
Hi All,
I have a script(sample.sh) displaying the output of "dd" command. Now i am using this script in system() call as,
system("sh sample.sh") in an application file.
I want the output of system("sh sample.sh") in the application file itself.
How can i get it?
Many thnaks.... (9 Replies)
Discussion started by: amio
9 Replies
5. Shell Programming and Scripting
I'm brand new to awk and need your help.
I want to be able to shut down my workstations when they become to hot (because we've lost our cooling). I found a really neat way to monitor the temperature of the system and a short, simple awk scipt to use with it:
/usr/sbin/prtpicl -v -c... (2 Replies)
Discussion started by: natural
2 Replies
6. Shell Programming and Scripting
Hello experts,
I have a perl script which looks for the ARGV and then loads the data as per it.
Example.
#Checking the server to connect
if ($ARGV eq 'QA')
{
$ENV{"ORACLE_HOME"} = "/oracle/product/11.2.0";
$ENV{"PATH"} = "$ENV{'PATH'}:/oracle/product/11.2.0/bin";
... (1 Reply)
Discussion started by: msrahman
1 Replies
7. Shell Programming and Scripting
Hello All,
I need immediate help in creating shell script to call archivebkup.ksh script when archive file system capacity reaches threshold value or 60%
Need to identify the unique file system that reaches threshold value.
ex:
capacity
... (4 Replies)
Discussion started by: sasikanthdba
4 Replies
8. Shell Programming and Scripting
The below awk script (loop.awk) is in the cygwin home directory. I do a cd to the directory where the Sources.txt is (where I would like the data output in), but the script does not run: echo loop | ./loop.awk
loop.awk
#!/bin/awk -f
BEGIN {}
cat Sources.txt | while read a
do... (10 Replies)
Discussion started by: cmccabe
10 Replies
9. Shell Programming and Scripting
Hi
I have a text file (Input.txt) with two column entries separated by tab as given below:
aaa str1
bbb str2
cccccc str3
dddd str4
eee str3
ssss str2
sdf str3
hhh str1
fff str2
ccc str3
.....
.....
..... (1 Reply)
Discussion started by: my_Perl
1 Replies
10. Shell Programming and Scripting
HI ,
I am trying to write a code where if a file system has / at the end then replace it with null but it should not affect root file system /
for example if
ip is /var/opt/home/ then o/p is /var/opt/home
but if ip is / then it should remain /.
for this i am using below code but no success... (8 Replies)
Discussion started by: Jcpratap
8 Replies
LEARN ABOUT DEBIAN
oss_digi96
oss_digi96(7) OSS Devices oss_digi96(7)
NAME
oss_digi96 - RME Digi96 professional audio driver.
DESCRIPTION
Audio driver for the RME Digi96 family of profressional audio controllers.
o Only 16 and 24/32 bit audio formats are supported.
o All Digi96 family members support 32kHz, 44.1kHz, 48kHz, 64kHz, 88.2kHz and 96kHz. sampling rates.
MIXER PANEL
Note! For recording you need to set digi96.sync to INTERNAL and the values of digi96.mode and digi96.input to match your studio setup. Oth-
erwise recordings will fail with I/O error.
There are several settings that can be changed using the ossmix program shipped with OSS. Note that some features don't work with all
Digi96 family members. For example ADAT mode is not supported by the base model.
o digi96.mode <SPDIF|AESEBU|ADAT>: This setting controls the output mode which can be S/PDIF (consumer), AES/EBU (professional) or ADAT.
The input mode is detected automatically. If ADAT input is detected the output mode will be switched to ADAT automatically (this
doesn't work in the other direction).
o digi96.sync <EXTERNAL|INTERNAL>: This setting tells if the playback sampling rate is based on the internal oscillator or the sample rate
detected in the input port. See also the definition of the digi96.worldclk setting.
o digi96.input <OPTICAL|COAXIAL|INTERNAL|XLR>: Selects the active input.
o digi96.sel <BYPASS|NORMAL>: When set to BYPASS the input signal will be routed directly to the output (also sets digi96.sync automati-
cally to EXTERNAL). In this mode audio data written to /dev/dsp will be muted.
o digi96.worldclk ON|OFF: Setting this control to ON will enable the optional worldclock input as the sample rate source (overrides the
digi96.sync setting).
o digi96.emph ON|OFF: Enables/disables the de-emphasis option on the analog (monitor) output connector.
o digi96.data <AUDIO|AC3>: Specifies if the output signal is audio or AC3 data (sets the non-audio bit in the channel status data).
OPTIONS
None
FILES
/etc/oss4/conf/oss_digi96.conf Device configuration file
AUTHOR
4Front Technologies
16 December 2012 oss_digi96(7)