12-01-2006
Basically i have a fork and a execl i need to send the output of the execl instead of onto the screen, into a variable. I need to do this as the need to send it over a socket.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I just need to add a static ID to each output record so the users will be able to tell which group records in combined flatfiles come from I have the static ID in a bourne variable. I tried
awk '{print "${GroupID}" $0}' infile > outfile
But I ended up with the string ${GroupID} instead of... (5 Replies)
Discussion started by: gillbates
5 Replies
2. UNIX for Dummies Questions & Answers
I have a .dat file in unix and it keeps failing file validation on line x. How do I delete a data string from a .dat file in UNIX?
I tried the following:
sed -e 'data string' -e file name
and it telling me unrecognized command (4 Replies)
Discussion started by: supergirl3954
4 Replies
3. UNIX for Dummies Questions & Answers
Hello everyone !
I need to get the data in a file into a string.
file1
1
2
3
4
5
I need to write a script where the file1 info is stored in a string (say variable s). So the output should be
1,2,3,4,5 or (1,2,3,4,5)
If i say
echo $s or print $s
output should be
1,2,3,4,5
or
... (7 Replies)
Discussion started by: i.scientist
7 Replies
4. Shell Programming and Scripting
Hi,
I have a file with data as follows:
324dsadfasfgf23<xmlsssssssssssssssssssssssssssssssssssssss<fdf>dfsdf>
i need all the data followed by the string <xml?
Is it possible to retrieve it? (1 Reply)
Discussion started by: Vijay06
1 Replies
5. Shell Programming and Scripting
Please look into the example.
My source file is like,
00,57,3,2008-07-24 06:30:06
10,1,8025171,"1M00",17907023,2008-07-23 18:16:58
10,2,8025171,"1M00",17907023,2008-07-23 18:17:01
99,184
What should i do if i want output like...
hello,00,57,3,2008-07-24 06:30:06... (7 Replies)
Discussion started by: pkumar3
7 Replies
6. Shell Programming and Scripting
Hi,
I'm new to shell scripting and require your help in achieving the requirement.
I have a data file which stores organization name as one of the column data in a csv data file.
Organization name stored in data file is: Canadian OU CAD
Sample Data file:
1,5,4,5,,
... (9 Replies)
Discussion started by: andy4013
9 Replies
7. Shell Programming and Scripting
Dear other forum members,
I'm writing a script for my homework, but I'm scratching all over my head and still can't figure out what I did wrong. Please help me. I just started to learn about bash scripting, and I appreciate if anyone of you can point out my errors. I thank you in advance.
... (3 Replies)
Discussion started by: ilove2smoke
3 Replies
8. Programming
hello all,
am stuck with ?. how to compute limits of char, int, float. i have done it simply displaying values from <limits.h> but i wan to calculate it.. its absolutley not a homework.
thank you. (7 Replies)
Discussion started by: zius_oram
7 Replies
9. Shell Programming and Scripting
Hi,
I have a file(input.txt) and trying to format as output.txt. See the attached file format.
Note: This is a windows file (DOS format) and the commands are also going to execute on windows.
Basically I am trying to capture all the data in between Local Group Memberships and Global Group... (10 Replies)
Discussion started by: Monoj2014
10 Replies
10. Shell Programming and Scripting
Gents,
file1
S 65733.00 19793.00 1 0 318592.8 2792489.5 29.1063000008
S 65733.00 19801.00 1 0 323120.8 2789153.6 13.3063000044
S 66009.00 19713.00 1 0 318672.7 2792538.2 30.6063000120
S 65801.00 19799.00 1 ... (2 Replies)
Discussion started by: jiam912
2 Replies
LEARN ABOUT X11R4
xtseterrormsghandler
XtErrorMsg(3) XT COMPATIBILITY FUNCTIONS XtErrorMsg(3)
NAME
XtErrorMsg, XtSetErrorMsgHandler, XtWarningMsg, XtSetWarningMsgHandler - high-level error handlers
SYNTAX
void XtErrorMsg(String name, String type, String class, String default, String *params, Cardinal *num_params);
void XtSetErrorMsgHandler(XtErrorMsgHandler msg_handler);
void XtSetWarningMsgHandler(XtErrorMsgHandler msg_handler);
void XtWarningMsg(String name, String type, String class, String default, String *params, Cardinal *num_params);
ARGUMENTS
class Specifies the resource class.
default Specifies the default message to use.
name Specifies the general kind of error.
type Specifies the detailed name of the error.
msg_handler
Specifies the new fatal error procedure, which should not return or the nonfatal error procedure, which usually returns.
num_params
Specifies the number of values in the parameter list.
params Specifies a pointer to a list of values to be stored in the message.
DESCRIPTION
The XtErrorMsg function has been superceded by XtAppErrorMsg.
The XtSetErrorMsgHandler function has been superceded by XtAppSetErrorMsgHandler.
The XtSetWarningMsgHandler function has been superceded by XtAppSetWarningMsgHandler.
The XtWarningMsg function has been superceded by XtAppWarningMsg
SEE ALSO
XtAppErrorMsg(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.0.5 XtErrorMsg(3)