Search Results

Search: Posts Made By: tomj5141
2,062
Posted By tomj5141
That worked! I was able to call it from my main...
That worked! I was able to call it from my main script & write to the log file for the main script. I was able to send it in an email also!

Thank you!
2,062
Posted By tomj5141
I am not sure how to run that. I tried just copy...
I am not sure how to run that. I tried just copy & past into Putty but it does not seem to work.
[#!/bin/ksh
# Get name of file to be processed:
INFILE=${1:-/home/download/east/master.dat}...
2,062
Posted By tomj5141
The last line should be complete & include a line...
The last line should be complete & include a line terminator. The actual file to be updated is ~ 14,087 lines depending on the number of customers. The output file can be the same format as the...
2,062
Posted By tomj5141
I have attached a sample document. I believe it...
I have attached a sample document. I believe it is ASCII. I've attached it as txt but it is a dat file written in pervasive psql. Best way to view the file is with Ultra Edit.
I need to replace the...
2,062
Posted By tomj5141
The first position used is 01. File is 22,000...
The first position used is 01.
File is 22,000 KB.

AIX server 1 6 00F7E54B4C00

PID TTY STAT TIME COMMAND
19399110 pts/53 A 0:00 -sh

the lines will contain characters,...
2,062
Posted By tomj5141
Need to log the sed command used to replace
In a shell script I am replacing the asterisks in a file:

sed "s/\*/"0"/g" /home/download/$COMPANY_CODE/file_new > /home/download/$COMPANY_CODE/fileI need to log which positions were replaced &...
3,450
Posted By tomj5141
Seems as though I should have taken some more...
Seems as though I should have taken some more technical classes in college & less business considering my career. I am currently learning Unix, .Net (VB & C#), & SQL on the fly as well as the...
3,450
Posted By tomj5141
ksh[7]: suff++: 0403-053 Expression is not...
ksh[7]: suff++: 0403-053 Expression is not complete; more tokens expected. Not sure what is missing but I guess I can just leave it end with the letter then apply the filetype later. I do have a...
3,450
Posted By tomj5141
Miri, we are on AIX Version 5.3. I am...
Miri,

we are on AIX Version 5.3.
I am very close using yor script just not able to append the .txt properly or use the number. -d is not recognized.

---------- Post updated at 01:24 PM...
3,450
Posted By tomj5141
How about something a little more simple maybe I...
How about something a little more simple maybe I am overcomplicating it. After I split my files I want to search the directory for any file greater than 250 MB & then split them into smaller files....
3,450
Posted By tomj5141
bipinajith, I am not sure how to apply your code....
bipinajith, I am not sure how to apply your code. My awk command names the file based on the records in the columns: 2, 5, 11, 79, 80. I could end up with a lot of files all named differently but...
3,450
Posted By tomj5141
Help splitting files greater than 250mb
I have script to split files based on specific columns & then name the files based on those columns. The split works well; however some of the files are still too large. I need some help splitting...
Showing results 1 to 12 of 12

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