Search Results

Search: Posts Made By: jermaine4ever
4,108
Posted By jermaine4ever
methyl, Thank you very much, I will try and...
methyl,
Thank you very much, I will try and that and see if it works
4,108
Posted By jermaine4ever
Calling a subroutine with arguments
Hello,
I am having problem calling a subroutine with arguments, can any help? is the approach I am using correct?

main()
{
# This is just a subset of the code
#$b & $lnum is already...
5,856
Posted By jermaine4ever
Reading specific line in a text file
Hello cfaJohnson,
I do apologise, but I had the code in origianally but becasue it was not working, I took it out and sent you the currently working version.
The full code is below:

#!/bin/ksh...
4,252
Posted By jermaine4ever
Reading data from a specific line in a text file
hello,
I have got the following problem that I am hoping someone can help with please.

1. I have got the following text file (below) , the columns data are
'Test Day', 'Board', 'Betting...
5,856
Posted By jermaine4ever
Hello CFAJohnson, Thanks for your reply and...
Hello CFAJohnson,
Thanks for your reply and apologies for if me email did not made sense, I did not included all of the code because I wanted to focus on the problem I was facing. But let me try and...
5,856
Posted By jermaine4ever
Reading data from a specific line in a text file
Hello,
I have a problem which is giving me headache for days, can some please help. Please see code and text fiel below. Please see text in red for the problem I am facing



# Program gets...
1,488
Posted By jermaine4ever
Thank you dariyoosh, That works, somtimes the...
Thank you dariyoosh,
That works, somtimes the simpliest of stoff is overlooked.
The code now calls the other method (backup) but it does not wait for the user to enter anything


backup() {
...
1,488
Posted By jermaine4ever
Using 'break' is breaking my leg - HELP!
Hello,
I am having problems breaking out a while loop and then trying to call another method afterwords, the 'FirstMain' method is never called once I break. How can get teh code to do this?
I...
6,429
Posted By jermaine4ever
arunsoman80, Thank you very much for your...
arunsoman80,

Thank you very much for your help, you suggestion for problem number 1 works fine. I will try suggestion 2 & 3 and tell you if it works.

Thanks again
6,429
Posted By jermaine4ever
Script does not read the last line of text file
Hello,
I have got a script that reads a text file, and have got three problems that I an struggling with.

1. The script does not read the last line in the text file
2. within the second 'elif'...
2,190
Posted By jermaine4ever
Goldarakk, YOU ARE A STAR, IT WORKS LIKE A...
Goldarakk,
YOU ARE A STAR, IT WORKS LIKE A CHARM.

tHANK YOU VERY MUCH I REALLY APPRECIATE THIS
2,190
Posted By jermaine4ever
Hello GOLDARAK, I tried the code you...
Hello GOLDARAK,

I tried the code you supplied, but am getting the error below. It is still picking up data where the first column is NOT 1 and it does like the way I am comparing (IF a==x )
...
2,190
Posted By jermaine4ever
Thank you Goldorakk, I will try it now and see if...
Thank you Goldorakk, I will try it now and see if that works
2,190
Posted By jermaine4ever
Script extracting the incorrect data from text file
Hello,
A script has been written to extract a specific column data from a text file ONLY if the user's initial input matches the the data of the first column in the text, then only the data from...
13,201
Posted By jermaine4ever
Using Shell Script to get data from text file
Hello, I have got the script below that reads a text file and then extract data from the third column and then send the result to another shell scrpt call tsim - the script works fine.
The problem I...
25,566
Posted By jermaine4ever
Thank you very much OH GREAT MASTERS. I will try...
Thank you very much OH GREAT MASTERS. I will try this and see if it work.
Darn I will have to do this in the morning some trigger finger just killed the whole system to I cannot get on.
But thank...
25,566
Posted By jermaine4ever
The problem with this is that I only want to read...
The problem with this is that I only want to read in the the 01-02-25-26-27-28 and then split teh number in 01 02 25 etc because the tSim only accept one digit at a time


1 1 01-02-25-26-27-28...
25,566
Posted By jermaine4ever
loto_sim (another shell script someone else...
loto_sim (another shell script someone else wrote) is expecting certain values to be entered from teh command line. the values I am supplying are in lotoE. If I was not using awk, I could have echo...
25,566
Posted By jermaine4ever
Hello Radoulov, the subset of the text file...
Hello Radoulov,
the subset of the text file content is below. the loto_tsim was written by someone else and works perfectly, allowing the user to enter specific information from and then the...
25,566
Posted By jermaine4ever
Thanks radoulov. Would you happen to know how I...
Thanks radoulov. Would you happen to know how I can resolve this?
25,566
Posted By jermaine4ever
Using echo in AWK
Hello,
I have written the script below to extract specific data from a text file and then use the data extracted as parameters for another shell script call 'loto_tsim'.
Everytime I run my script...
Showing results 1 to 21 of 21

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