05-25-2007
thanks for your help.........just before i got ur reply i tried the "" and it worked!!! earlier i was trying with single quotes and it was causing an issue..thansks anyway
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi there,
I have a scritp that is clearing out old files from some directories, rather than echoing the name of the file when it gets deleted i want to echo a ". " I have tried to just echo it after the deletion but it lists like this
.
.
.
.
I want to show it like this
. . . . . . . . .... (1 Reply)
Discussion started by: nhatch
1 Replies
2. Linux
Hi,
I need to remove files that are in archive directory and which are old. I can make use of find command to search for files which are older by number of days.
But the problem is there are sub directories in directory 'archive' like 'sub1' 'sub2' 'sub3'.
Now all files which are in... (4 Replies)
Discussion started by: ramu_indian
4 Replies
3. Shell Programming and Scripting
Dear Experts ,
I have 15 files and each files contains the data as mentioned below
fileA
name company salary
job location nationality
12121 234234 13123
12121 234234 13123
12121 234234 13123
12121 234234 13123
12121 234234 13123
12121 234234 13123
12121 234234 13123... (4 Replies)
Discussion started by: shary
4 Replies
4. Shell Programming and Scripting
I need help running a script. I have the script looking into a folder and converting .doc files to .odt. The script works fine except that I want it to only run when .doc files are present. If I can do this then I can put .xls files and .ppt files in the folder and convert them when they are... (2 Replies)
Discussion started by: handband2
2 Replies
5. UNIX for Dummies Questions & Answers
I'm learning Unix on my mac, and know that the grep command only works in text files. But what if I want to search for text/patters in a doc file, say? (I write my letters in NeoOffice and save them in .doc format). Is there a unix command that can do that? (4 Replies)
Discussion started by: Straitsfan
4 Replies
6. Shell Programming and Scripting
Hello there....unix users :)
I hope you can help me with this:
I need open a doc file or xls files and work this files whit a bash script.
For example: Open a doc file and copy information from a txt file in this doc file or xls file.
Is it possible?
Sorry for my english...I'm chilean... (3 Replies)
Discussion started by: bobbasystem
3 Replies
7. UNIX for Dummies Questions & Answers
I have a data set that has 4 columns, I want to know if I can delete duplicate lines while ignoring one of the columns, for example
10 chr1 ASF 30
15 chr1 ASF 20
5 chr1 ASF 30
6 chr2 EBC 15
4 chr2 EBC 30
...
I want to know if I can delete duplicate lines while ignoring column 1, so the... (5 Replies)
Discussion started by: japaneseguitars
5 Replies
8. UNIX for Dummies Questions & Answers
im tring to make backup to the files end with "doc" extension but the code give me error ... what is the problem!!!!
#! /bin/sh
if
then
for name in `ls *.DOC`
do
kk= $(printf "%s_temp" $name)
cp $name $kk
done
else
echo "error" (9 Replies)
Discussion started by: maga6610
9 Replies
9. UNIX for Dummies Questions & Answers
I am currently trying to open a .doc file in my workstation via terminal. This is my code:
root@ojt:/home/ojt/Desktop# cat arts_life.doc
and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (2 Replies)
Discussion started by: chams
2 Replies
10. Web Development
I am currently trying to open a .doc file in my workstation via terminal. This is my code:
root@ojt:/home/ojt/Desktop# cat arts_life.doc
and it gave me a bunch of unknown characters together with the contents of the doc file. What I actually want to happen is that it will open the... (4 Replies)
Discussion started by: chams
4 Replies
LEARN ABOUT ULTRIX
rpc_set_async_ack
rpc_set_async_ack(3ncs) rpc_set_async_ack(3ncs)
Name
rpc_set_async_ack - set or clear asynchronous-acknowledgement mode (client only)
Syntax
#include <idl/c/rpc.h>
void rpc_$set_async_ack (state)
unsigned long state;
Arguments
state If "true" (nonzero), asynchronous-acknowledgement mode is set. If "false" (zero), synchronous-acknowledgement mode is
set.
Description
The call sets or clears asynchronous-acknowledgement mode in a client.
Synchronous-acknowledgement mode is the default. Calling with a nonzero value for state sets asynchronous-acknowledgement mode. Calling
it with a zero value for state sets synchronous-acknowledgement mode.
After a client makes a remote procedure call and receives a reply from a server, the RPC runtime library at the client acknowledges its
receipt of the reply. This "reply acknowledgement" can occur either synchronously (before the runtime library returns to the caller) or
asynchronously (after the runtime library returns to the caller).
It is generally good to allow asynchronous reply acknowledgements. Asynchronous-acknowledgement mode can save the client runtime library
from making explicit reply acknowledgements, because after a client receives a reply, it may shortly issue another call that can act as an
implicit acknowledgement.
Asynchronous-acknowledgement mode requires that an "alarm" be set to go off sometime after the remote procedure call returns. Unfortu-
nately, setting the alarm can cause two problems:
1 There may be only one alarm that can be set, and the application itself may be trying to use it.
2 If, at the time the alarm goes off, the application is blocked in a system call that is doing I/O to a "slow device" (such as
a terminal), the system call will return an error (with the EINTR errno); the application may not be coded to expect this
error. If neither of these problems exists, the application should set asynchronous-acknowledgement mode to get greater
efficiency.
Files
See Also
intro(3ncs)
rpc_set_async_ack(3ncs)