Search Results

Search: Posts Made By: blt123
1,991
Posted By blt123
i figured it out i replaced [0-9] with [0-9.] ...
i figured it out i replaced [0-9] with [0-9.]
Thanks for your help - much appreciated!

Oops - just saw your last post - thanks!
1,991
Posted By blt123
i'm still working with this - have come across...
i'm still working with this - have come across this scenario - thanks! what happens if i have a dollar amount without any dollars like this:
99999999999999930530130530USD ...
1,991
Posted By blt123
obviously, i dont know what i am doing. when i...
obviously, i dont know what i am doing. when i execute that command; it just displays the output on the screen as it runs thru each record, but doens't make the changes to the file?
1,991
Posted By blt123
i'm getting an error saying command garbled: ...
i'm getting an error saying command garbled:
sed: command garbled: s/\(^.\{22\}\)..../\10603/s/\(^.\{29\}\)\( *\)-/\1\2s/s/\(^.\{29\}\)\( *\)[ +]\([0-9.]\)/\1\2-\3/s/\(^.\{29\}\)\( *\)s/\1\2 /p

i...
1,991
Posted By blt123
Replace col 23 - 26 with new value, non delimited file
hello,
i have a undelimited file which contains 229 byte records. i want to change column 23 - 26 with a new value and also change the sign of the data in colulmn 30 - 70. i've tried SED for the...
9,687
Posted By blt123
SFTP -no keys-eliminate password prompt-use autosys job
When we updated SSH to Version 5.6 on our UNIX machine; we were successful in keeping an open session to the machine.

Now, I have the problem of writing a script to do this SFTP via an autosys...
9,687
Posted By blt123
We've tried that and also sftp -vvv -o...
We've tried that and also sftp -vvv -o PreferredAuthentications=password; however we still get disconnected. Here's the tail end of the log:

debug1: Authentication succeeded (password).
debug2:...
9,687
Posted By blt123
SFTP - UNIX to Windows without keys
When I try to SFTP from our UNIX box to an outside vendor using passwords - no keys, I am immediately get disconnected.
We have the FIREWALL open because I get prompted for the password.

Here's...
2,229
Posted By blt123
SFTP from UNIX to ALPHA Box (Stream_LF)
Hello,
I have a variable length record file that I am trying to SFTP from a UNIX box to a VMX Alpha box. I have no problem with any authenication. Every time I transfer the file, the file gets...
3,764
Posted By blt123
I have changed to the shell to match the script...
I have changed to the shell to match the script and still not good results?

svdw0088 : ksh
$ find . ! -name 'file*' -mtime -1
.
./test_purge
$

SCRIPT first line:

#!/bin/ksh

SCRIPT...
3,764
Posted By blt123
FIND returns different results in script
When I execute this line at the command prompt I get a different answer than when I run it in a script? Any ideas on how to resolve? I'm trying to find all files/dir in a directory except files that...
3,980
Posted By blt123
Thanks - sorting is the key obviously! Much...
Thanks - sorting is the key obviously!

Much appreciated.....
3,980
Posted By blt123
compare 2 files, output dups to file
I have two files that I want to compare and output a new file that will contain the duplicates. I have tried comm -12 and it doesn't work? Any help will be helpful.

Thanks,
Barbara
10,142
Posted By blt123
Hello, Some more information: On Monday I...
Hello,
Some more information:
On Monday I create files (49) from 8:00am until 8:00pm - one file every 15 minutes. On Tuesday I do the same thing, create 49 files. On Wednesday, Thursday, Friday....
10,142
Posted By blt123
Purge files, keep 3 versions of last 4 days
Hello,

I currently generate a file every 15 minutes for 12 hours a day. I would like to clean the directory on a daily basis. I only want to keep the latest 3 versions for the last 4 days in the...
3,542
Posted By blt123
Where do I start to learn PERL?
Hello,

What is the best way to start learning PERL? Are there any "learn-it-yourself" websites? Beginner books? etc...

Thanks,
Barbara
14,547
Posted By blt123
Thanks. I'm sorry I guess I didn't explain...
Thanks.

I'm sorry I guess I didn't explain myself correctly. This is my existing code:

ftpresults=`ftp -inv $ip_box_name <<EOB
user $userid $password
put $ftp_file...
14,547
Posted By blt123
Thanks! In the past, I have checked for...
Thanks!

In the past, I have checked for "226". There have been some cases where the bytes transferred, bytes sent, or transfer time contains "226". The job result is successful, yet the ftp was...
14,547
Posted By blt123
return ftp status
Hello,

I still have problems when trying to figure out if the status of an ftp was successful. I ftp to different types (nt, vax, unix, etc...) of machines. I am trying to write a universal...
29,434
Posted By blt123
diff 2 files; output diff's to 3rd file
Thanks for the info, it works!

When I read "man" about comm, it had mentioned the output as being "text columns". This confused me, because I wanted the different records.

Thanks again,...
29,434
Posted By blt123
diff 2 files; output diff's to 3rd file
Hello,
I want to compare two files. All records in file 2 that are not in file 1 should be output to file 3.

For example:

file 1
123
1234
123456

file 2
123
2345
23456

file 3...
13,247
Posted By blt123
Thank you - it works!
Thank you - it works!
13,247
Posted By blt123
verify ftp status is "good"
Hello,
From reading prior "threads", my script looks like this:

#!/bin/ksh -x
ftpresults=`ftp -nv $ftphost1 << EOB
user $ftpuser $ftppwd
put $ftp_file $ft
...
26,757
Posted By blt123
substring of a variable
Thank you - it works!
26,757
Posted By blt123
substring of a variable
I'm working in:

#!/bin/ksh

My question:

I have a variable latest_bus_date, which in in the format YYYYMMDD. I would like to create a new variable that is in the format of MMDDYY using the...
Showing results 1 to 25 of 27

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