Search Results

Search: Posts Made By: paul1s
2,458
Posted By paul1s
Thank you both methods work OK
Thank you both methods work OK
2,458
Posted By paul1s
inserting into a data file
Hello

I have a unix variable $HDR in a script, which contains header info, and I need to create it as a new line at the top of a data file which is the input $1 in the script.

Paul
2,185
Posted By paul1s
Sorry Jim I misread what you put. This...
Sorry Jim

I misread what you put.
This works perfectly thank you.
2,185
Posted By paul1s
The FTP code is as follows. user $RCV $pass ...
The FTP code is as follows.

user $RCV $pass
binary
mget ${FID}_*_${RCV}_*_F_*
bye


It is at the '_F_' i need to reduce the file name.
I do not know the filename length at this stage, as...
2,185
Posted By paul1s
I'm using mget, which gets a collection of files...
I'm using mget, which gets a collection of files in one call. The files appear in a directory on the Unix server and then need to be moved.
2,185
Posted By paul1s
Reducing file names
I have a script which includes an FTP. The filename is too long for my target area. The filename is HD012_ABCD_EFGH_061004_F_300_40. I need to the filename to be HD012_ABCD_EFGH_061004_F_. Any ideas.
Showing results 1 to 6 of 6

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