I found this on the javasoft site:
import java.io.*;
import com.oroinc.net.ftp.*;
public class JFTP {
public static void get(String hostname, String filename) {
FTPClient client;
client = new FTPClient();
try {
client.connect(hostname)...
Greg,
Thanks for that. I'm off to buy myself an AWK reference manual!
This has been my first time using tec-tips and it's really helped.
Thanks again
Ray :->
KP,
Thanks alot that has been really helpful.
FILENAME adds the full path along with the actual file name into the file could you give me an example where the filename is passed to awk via a ksh variable.
I appreciate your help with this as I have already wasted half a day trying to sort this...
This is all new to me so any help would be greatly appreciated
I need to be able to add a value to a specific line of a data file.
The file looks like:
a 123 345789
b 234 678909 iuy
b 234 678909 jhg
b 234 678909 nbv
c 321 097876
And I need to add the filename to the row starting with 'c'(the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.