Search Results

Search: Posts Made By: techieg
915
Posted By techieg
Thanks for the prompt response. I updated the...
Thanks for the prompt response. I updated the fruit types, one of the "apple" columns should have been "pineapple", which I have updated, also updated the newprice variable, which was supposed to be...
915
Posted By techieg
Replace a Column Within a Line
Hello All,

I am trying to replace a column within a line that has a certain fruit name. I have a bunch of line such as:



apple:green:5cents:CA
pineapple:red:4cents:FL...
3,095
Posted By techieg
Genius! Just what the doctor ordered, perfect. I...
Genius! Just what the doctor ordered, perfect. I appreciate the help.
3,095
Posted By techieg
Grep Delimited Line and Display Vertically
Hello All,

I am trying to take a colon-delimited line from a bunch of lines such as

apple:green:5cents:CA
apple:red:4cents:FL
orange:green:6cents:HI

...and display it vertically with...
3,293
Posted By techieg
Okay, I will give that a shot.
Okay, I will give that a shot.
3,293
Posted By techieg
It displays the options and I am able to center...
It displays the options and I am able to center it but just not left justified as can be accomplished with Here document.

---------- Post updated 05-07-13 at 12:00 AM ---------- Previous update...
1,463
Posted By techieg
Yes, I do have other while loop in there now as...
Yes, I do have other while loop in there now as well as a case structure.
5,450
Posted By techieg
Korn shell. I have updated the initial post to...
Korn shell. I have updated the initial post to reflect this.

---------- Post updated at 02:11 PM ---------- Previous update was at 02:04 PM ----------



Yes, you are right, that was a forum...
5,450
Posted By techieg
While Loop to Check for Integer
Hello All,

In ksh I am trying to ensure that user inputs are integers otherwise redisplay prompt with the following code;

a=0
b=0
c=0

read b?"Please enter a number: "
read c?"Please enter...
3,293
Posted By techieg
Yes, I read it, which is what I responded to when...
Yes, I read it, which is what I responded to when I said it wasn't what I was looking for and really need to get the here document to work.
3,293
Posted By techieg
Thanx for the response, I tried the suggested...
Thanx for the response, I tried the suggested $(cat <<MENU... but that made no difference and the other option does not provide the needed solution. I am really hoping that the here document has a...
1,463
Posted By techieg
Thanx for the response. What I had to do was to...
Thanx for the response. What I had to do was to wrap the code up in a while loop and use a continue at the bottom so that the program continues from the top of the loop again until the user makes a...
3,293
Posted By techieg
Assign Here Document Facility to a Variable
Hello All,

I was wondering how I can assign a here document facility to a variable. I have tried the following:

menu=$(<<MENU
Option1
Option2
Option3
Option4
MENU
)

...but when I echo...
1,463
Posted By techieg
How to Return to a While Loop From The Bottom of Code?
Hello All,

I was wondering how after processing a program down to the bottom of the program one can return to the only while loop in the program.

Thanx,
2,088
Posted By techieg
You are a genius. I tried everything but that....
You are a genius. I tried everything but that. Thanx, man.
2,088
Posted By techieg
How to Assign operators to a Variable?
Hello All,

I successfully assigned several operators to a variable but multiplication seems to be a pain. I have tried operator=\\* but that does not seem to work when used in an expression unlike...
4,856
Posted By techieg
The same code seems to be working fine now, not...
The same code seems to be working fine now, not sure why the system delivered bad output several times earlier. Thanx for the prompt response.
4,856
Posted By techieg
Join Two Files, Each With Different Delimiters
Hello All,

I am trying to join two files, each with differing delimiters. file1 has

doe, john 10.00 60.00 4.00 5.00
doe, jane 10.00 60.00 4.00 5.00

...while file2 has the following content:...
Showing results 1 to 18 of 18

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