I am running NIS, NFS and automount.
If I execute
% cd /xyz/data1
% pwd
I get different results depending on the operating system.
On SGI running Irix 6.5.x pwd returns /xyz/data1
On Redhat Linux 7.3 pwd returns /xyz/data1
BUT
On Tru64 UNIX the pwd command returns... (1 Reply)
Probably a very straight forward question but please be easy on me, I am v. new to UNIX!
A script that I have runs the line
tmp=`pwd -H`
It works fine, but I needed to make a couple of other changes to the script, nowhere near this line but now this line reports:
pwd: A specified flag... (2 Replies)
Hello everyone - First post here,
I'm trying to connect to an anonymous ftp server and I am told by the server admin that I cannot have access to the "print working directory" command. I need to have access to this command in order for my (and my clients) preferred ftp client to connect. (the... (9 Replies)
Hi,
I should replace the string DIR_ZERO in the file FILE_OLD with the current directory path in FILE_NEW by using something like this:
sed "s/DIR_ZERO/'$(pwd)'/" FILE_OLD > FILE_NEW
but it doesn't work and I don't understand why...:confused:
Thanks in advance!!!
Giordano Bruno (2 Replies)
Hi,
Can you tell me if there is a command such as pwd which does not give me the absolute NFS pathname i.e. it starts with .autofs? At the moment on the unix when I use the 'pwd' command it always gives me the nfs pathname rather thanthe local pathname of which is what i want, is there an... (4 Replies)
currently, my samba login works just fine. i want my clients to use aix5.3 account to login to samba so they don't have to change samba pwd and aix pwd. i googled, and vi /usr/lib/smb.conf per some of knowledge base, but i could not get to work.
aix5.3 and samba 3.0.24.0
thanks in advace..... (2 Replies)
I have an export command which exports the file which I specify to the specified location. It asks for an pwd and again to confirm the pwd, can some one help me to pass the pwd thru the script.
cd /opt/var/SecureTransport/bin
xml_export /opt/SecureTransport/var/logs/accounts_log.xml... (3 Replies)
Hi all,
Need some help in the following code. (Running this code at cygwin in windows vista)
cat /home/ebanpan/Input_Logs/*.log > /home/ebanpan/Input_Logs/input.log
sed '/^Total/d;/^Bye/d;/^Output has been logged/d' /home/ebanpan/Input_Logs/input.log > /home/ebanpan/output.log
this code... (6 Replies)
I have a script as below.
bash-3.00$ cat test.sh
#!/usr/bin/ksh
path=`pwd`
echo $path
var=$path/temp11
echo $var
If run it is giving output
bash-3.00$ ksh test.sh
//var/tmp/SB2/miscellaneous
//var/tmp/SB2/miscellaneous/temp11 (5 Replies)
Hi,
I am new in unix, can anyone please explain the use of:- . $PWD/.profile
Thanks,
Sujoy (5 Replies)
Discussion started by: sujoyrchowdhury
5 Replies
LEARN ABOUT SUNOS
mlib_signalemphasize_f32s_f32s
mlib_SignalEmphasize_S16_S16_Sat(3MLIB) mediaLib Library Functions mlib_SignalEmphasize_S16_S16_Sat(3MLIB)NAME
mlib_SignalEmphasize_S16_S16_Sat, mlib_SignalEmphasize_S16S_S16S_Sat, mlib_SignalEmphasize_F32_F32, mlib_SignalEmphasize_F32S_F32S - signal
pre-emphasizing
SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ]
#include <mlib.h>
mlib_status mlib_SignalEmphasize_S16_S16_Sat(mlib_s16 *dst, const mlib_s16 *src, void *filter, mlib_s32 n);
mlib_status mlib_SignalEmphasize_S16S_S16S_Sat(mlib_s16 *dst, const mlib_s16 *src, void *filter, mlib_s32 n);
mlib_status mlib_SignalEmphasize_F32_F32(mlib_f32 *dst, const mlib_f32 *src, void *filter, mlib_s32 n);
mlib_status mlib_SignalEmphasize_F32S_F32S(mlib_f32 *dst, const mlib_f32 *src, void *filter, mlib_s32 n);
DESCRIPTION
Each of these functions applies the preemphasizer to one signal packet and updates the filter states.
For monaural signals, the following equation is used:
dst[i] = src[i] - alpha*src[i - 1]
where i = 0, 1, ..., (n - 1); src[-1] = 0.
For stereo signals, the following equation is used:
dst[2*i] = src[2*i] - alpha*src[2*(i - 1)]
dst[2*i + 1] = src[2*i + 1] - alpha*src[2*(i - 1) + 1]
where i = 0, 1, ..., (n - 1); src[-2] = src[-1] = 0.
PARAMETERS
Each of the functions takes the following arguments:
dst Destination signal array.
src Source signal array.
filter Internal filter structure.
n Number of samples in the source signal array.
RETURN VALUES
Each of the functions returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO mlib_SignalEmphasizeFree_S16_S16(3MLIB), mlib_SignalEmphasizeInit_S16_S16(3MLIB), attributes(5)SunOS 5.10 10 Nov 2004 mlib_SignalEmphasize_S16_S16_Sat(3MLIB)