Search Results

Search: Posts Made By: beilstwh
Forum: Programming 09-17-2007
10,420
Posted By beilstwh
endl is a platform specific end of line...
endl is a platform specific end of line character. If you use /n, it will only put in a line feed. If you use endl, it would use CR on macs, CR/LF on Windows, and LF on unix. Very nice little...
Forum: What is on Your Mind? 06-25-2007
4,330
Posted By beilstwh
Not Cingular
You should have one more question on the poll.

Are you not going to buy the IPHONE because it will only work on Cingulars lame and antiquated network.
15,359
Posted By beilstwh
Thanks Jim and as an added bonus, I even...
Thanks Jim and as an added bonus, I even understand it :D
15,359
Posted By beilstwh
how to use sed to append text into a file
I have a command stream that will parse down an ftp DIR listing of a remote directory and return the name of the newest file that I am interested in. The command is

sed -e '/^d/d' sppay.listing...
Forum: Programming 10-26-2006
5,245
Posted By beilstwh
Thanks for the reply. The package from openrda...
Thanks for the reply. The package from openrda looks interesting. I will look into it.
Forum: Programming 10-26-2006
5,245
Posted By beilstwh
Accessing microsoft access from C program
I have read a number of references to libraries that could be linked into a C program to access various databases. I have been tasked with writing an oracle library that would be able to access an...
5,286
Posted By beilstwh
widen the excel column. Typically excel will show...
widen the excel column. Typically excel will show a number in scientific notation if the column to too small.
Forum: Programming 06-21-2006
3,573
Posted By beilstwh
Because I use the strncat function to append the...
Because I use the strncat function to append the command onto the script invokation and I have a maximum length of 35 (or the actual length of command if less then 35), it should work fine. The...
Forum: Programming 06-21-2006
3,573
Posted By beilstwh
Jim, I really like the way you handled my...
Jim,
I really like the way you handled my problem. After reading your code, I reliezed that what I needed to do was to not only check for semi-colons, but to only allow A-Z, 0-9, and space. Since...
Forum: Programming 06-20-2006
3,573
Posted By beilstwh
Thanks for the idea, however the test needed to...
Thanks for the idea, however the test needed to be inside my "C" application.
Forum: Programming 06-20-2006
3,573
Posted By beilstwh
I am passing a command line option to an oracle...
I am passing a command line option to an oracle external procedure script. Internally the shell script will parse the command line option, but I needed to protect my invokation from imbedded unix...
Forum: Programming 06-19-2006
3,573
Posted By beilstwh
Block ";" in input string
To prevent injection, I want to exit the attached routine if a semi-colon is in the input string. I am using gcc as the compiler.

#include<stdio.h>
#include<stdlib.h>
int sysrun(char *command) {...
1,990
Posted By beilstwh
Thank you very much. That fixed the problem. :D
Thank you very much. That fixed the problem. :D
1,990
Posted By beilstwh
How do I include "$" in a string
I have the following code.

sqlString="CREATE USER $1 IDENTIFIED BY $3
DEFAULT TABLESPACE TEMPTABS
TEMPORARY TABLESPACE TEMPSEGS
QUOTA UNLIMITED ON TEMPTABS
...
1,316
Posted By beilstwh
display the man page for printers. man...
display the man page for printers.

man printers
1,797
Posted By beilstwh
Just curious, are you using .htaccess to secure a...
Just curious, are you using .htaccess to secure a directory from the web server or do you expect it to work for unix logins? .htaccess is ONLY read by the web swerver and the directory must be above...
2,702
Posted By beilstwh
I should have mentioned that I wanted to make...
I should have mentioned that I wanted to make sure the FTP service is up, not just the server. My bad...

I will go with my method.
10,588
Posted By beilstwh
I have used the following command line to send an...
I have used the following command line to send an Excel Spreadsheet as an attachment.

(cat /tmp/message.body; uuencode /tmp/VALSP.xls VALSP.xls)| mailx -s "Company Service Orders import file"...
2,702
Posted By beilstwh
Detecting a successfull FTP connection
I have a question. My company has to send a file to another company. The cron script currently just sends the file. However, every now and then the other companies ftp server is down. I wanted to...
13,529
Posted By beilstwh
That took care of it, I was looking for white...
That took care of it, I was looking for white space after, not before.

Thanks for the help.
13,529
Posted By beilstwh
I have tried it with and without the quit
I have tried it with and without the quit
13,529
Posted By beilstwh
I checked the script on the server and there are...
I checked the script on the server and there are no spaces on the "EOT" line, either before or after the EOT. However there was a blank space after the "quit" on the previous line, will this cause...
13,529
Posted By beilstwh
Need help with oracle backup script
I have written a script to perfrom a cold backup on an oracle database. The script is failing everytime. Can anyone tell me what (stupid) error I am making.

The output from the uname command...
3,578
Posted By beilstwh
Thank you very much
Thank you very much
3,578
Posted By beilstwh
append esc string
I have a request that is simple, but I can't figure out how to do it. I have a unix file that I want to append the following string to the front of the file

...
Showing results 1 to 25 of 64

 
All times are GMT -4. The time now is 06:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy