Sponsored Content
Full Discussion: Find and replace increament
Top Forums Shell Programming and Scripting Find and replace increament Post 303016429 by Kamesh G on Thursday 26th of April 2018 01:53:35 PM
Old 04-26-2018
@rdrtx1 thank you for the reply brother, can you also help me in describing what this awk attributes are doing I'm not very sound in this.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

find and replace

Hi, Iam new to shell script.How to write bourn shell script for find and replace. My requirement is: variable: name="abcd & co" i wanted to replace '&' with amp; plz suggest with out using sed. Thanks lot. (2 Replies)
Discussion started by: ram2s2001
2 Replies

2. UNIX for Dummies Questions & Answers

Find and Replace

After running a command like grep -ir files2/ * This will find all the files that contain "files2/" in it. For example if it finds files2/dir/today files2/dir/yesterday files2/dir/2daysago Now it may find 100 instances, so is there a quick find and replace command I can use? I... (4 Replies)
Discussion started by: NycUnxer
4 Replies

3. Solaris

find/replace?

Dear All To find a file, according to you, I tried as: #find / -name file-name -print To find a string inside the files , I tried as : #find / -name "*" |xargs grep "string" Can you please let me know how can I try for find/replace (i.e. finding the intended string inside the text files... (6 Replies)
Discussion started by: hadimotamedi
6 Replies

4. UNIX for Dummies Questions & Answers

find and replace

I have a tab-delimited inFile: cat inFile A B C D E F 1 2 3 4 5 6 a b c d e fI would like to replace the first 3 tabs in each row with underscore to get outFile: A_B_C_D E F 1_2_3_4 5 6 a_b_c_d e fhow can I modify the following... (5 Replies)
Discussion started by: jdhahbi
5 Replies

5. Shell Programming and Scripting

find and replace

Hi I am very new to shell scripting (and linux in general)... I am trying to build some script, that will read a person from a csv file, (each person will have an ID, eg id001abc, which will go up one by one a few hundred times) then when find and replace the matching data in an xml file. ... (4 Replies)
Discussion started by: sam.breslin
4 Replies

6. Shell Programming and Scripting

VI - Find and replace

Hi All, How can i replace a pattern where its with the pattern / To be more clear, this is what am trying to replace with Current pattern => /abc/xyz Replace to => /xyz/abc Giving the commad :%s/"/abc/xyz"/"/xyz/abc"/g throw me off. :wall: Awaiting for your assistance... (3 Replies)
Discussion started by: kusathy
3 Replies

7. Shell Programming and Scripting

Using records iteratively with increament

I am very new to unix. Trying to use a for loop for this task I have a file like this abc.uml ccc.uml ddd.uml rrr.uml kkk.uml . . . n.uml ( more than 10000) I want to read this file but just 5 names at a time and then again it should read next 5 names and agin next 5. this... (6 Replies)
Discussion started by: nnani
6 Replies

8. Shell Programming and Scripting

find and replace

Hi, I have to grep value from one file, if that value is already present with "#" symbol. I have to remove that symbol in that file. Ex: file1.txt contains the following string #value=15 I have to search for "Value". If I found the string with hash symbol, nee to remove the # in... (6 Replies)
Discussion started by: ckchelladurai
6 Replies

9. Shell Programming and Scripting

Find and replace

Hi , i have a file with some data and i need replace a perticular value with some other value from another another file req: file1.txt abc,idle.txt,1234 file2.txt 5678 now the requirement is need to replace the "idle.txt" is with "mike_5678" here 5678 from file2.txt... file2.txt... (1 Reply)
Discussion started by: dssyadav
1 Replies

10. Shell Programming and Scripting

Find and replace

Hi, I have a variable which holds the below value: echo $FROM_DIR /fsg/fgldevu/fs_ne/inst/FGLDEVU_01/logs/appl/conc/out/o14946708.out I want to change the value in the variable as below: out/o to be replaced with log/l .out to be replaced with .req The desired output should look like... (5 Replies)
Discussion started by: Prasannag87
5 Replies
rpc_xdr(3NSL)					       Networking Services Library Functions					     rpc_xdr(3NSL)

NAME
rpc_xdr, xdr_accepted_reply, xdr_authsys_parms, xdr_callhdr, xdr_callmsg, xdr_opaque_auth, xdr_rejected_reply, xdr_replymsg - XDR library routines for remote procedure calls SYNOPSIS
bool_t xdr_accepted_reply(XDR *xdrs, const struct accepted_reply *ar); bool_t xdr_authsys_parms(XDR *xdrs, struct authsys_parms *aupp); void xdr_callhdr(XDR *xdrs, struct rpc_msg *chdr); bool_t xdr_callmsg(XDR *xdrs, struct rpc_msg *cmsg); bool_t xdr_opaque_auth(XDR *xdrs, struct opaque_auth *ap); bool_t xdr_rejected_reply(XDR *xdrs, const struct rejected_reply *rr); bool_t xdr_replymsg(XDR *xdrs, const struct rpc_msg *rmsg); DESCRIPTION
These routines are used for describing the RPC messages in XDR language. They should normally be used by those who do not want to use the RPC package directly. These routines return TRUE if they succeed, FALSE otherwise. Routines See rpc(3NSL) for the definition of the XDR data structure. #include <rpc/rpc.h> xdr_accepted_reply() Used to translate between RPC reply messages and their external representation. It includes the status of the RPC call in the XDR lan- guage format. In the case of success, it also includes the call results. xdr_authsys_parms() Used for describing UNIX operating system credentials. It includes machine-name, uid, gid list, etc. xdr_callhdr() Used for describing RPC call header messages. It encodes the static part of the call message header in the XDR language format. It includes information such as transaction ID, RPC version number, program and version number. xdr_callmsg() Used for describing RPC call messages. This includes all the RPC call information such as transaction ID, RPC version number, program number, version number, authentication information, etc. This is normally used by servers to determine information about the client RPC call. xdr_opaque_auth() Used for describing RPC opaque authentication information messages. xdr_rejected_reply() Used for describing RPC reply messages. It encodes the rejected RPC message in the XDR language format. The message could be rejected either because of version number mis-match or because of authentication errors. xdr_replymsg() Used for describing RPC reply messages. It translates between the RPC reply message and its external representation. This reply could be either an acceptance, rejection or NULL. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |MT-Level |Safe | +-----------------------------+-----------------------------+ SEE ALSO
rpc(3NSL), xdr(3NSL), attributes(5) SunOS 5.10 30 Dec 1996 rpc_xdr(3NSL)
All times are GMT -4. The time now is 11:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy