Search Results

Search: Posts Made By: supercbw
2,897
Posted By supercbw
substitution
I am trying to substituted a variable to a file using sed. However, the value of that variable is not being substituted. Here is an example of my code.

lf='
'
v_whole="${1} ${2} ${3} ...
2,198
Posted By supercbw
For Loop
I have executed the command

numOfAcct=`ls availablityFax.acc* | wc -l`
echo "${numOfAcct}

numOfAcct displays 4

I want to use a for loop to execute a call to another program numOfAcct times....
2,050
Posted By supercbw
file splitting
I have a file that I need to be broken up into many files. The file I have currently has:

1
2
3
4

and I need 4 separate files that contain that number. If you open up file1 it has the...
Forum: Programming 05-06-2002
2,647
Posted By supercbw
deleting lines
I am spooling a file from oracle and trying to delete the last line of the spooled file which I am unable to do.

Problem is that this file can have multiple records each time and I have no way...
3,795
Posted By supercbw
substitution of variable in template
I am a beginner programmer. I have a file that I am able to read through and place the data into variables using the read command. The data is then set to another variable and all the data in that...
1,886
Posted By supercbw
help with command
I am new to programming using the korn shell and I have a question:

Is there a way to take all the data in a file and insert it in another file, but between begin and end. Example below

begin...
22,893
Posted By supercbw
handling spaces in unix
I am testing a ksh script for email. In the script I receive several parameters. One of them is a subject. The subject may contain spaces. Ex. Test this. When I am running the script on telnet to...
Showing results 1 to 7 of 7

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