Search Results

Search: Posts Made By: DualPandas
2,060
Posted By DualPandas
Accepting Input regardless of Case
Hi I am trying to get my script to accept input regardless if the person enters a or A. here is the portion of the code where I get the input.

echo -n 'Please enter your choice:' # prompt...
3,312
Posted By DualPandas
Thanks for all your help :)
Thanks for all your help :)
3,312
Posted By DualPandas
Cool now it doesnt display the crappy header :)...
Cool now it doesnt display the crappy header :) Thanks so much. Now I am going to work on getting the real header to work.
3,312
Posted By DualPandas
here is the input file : Name Exam1 Exam2 Exam3...
here is the input file :
Name Exam1 Exam2 Exam3
Tom 23 12 30
Jack 30 35 38
Jane 31 25 19
Brian 38 38 40
Lisa 30 28 32
Nick 33 30 15
Karen 25 28 12

#BEGIN {printf...
3,312
Posted By DualPandas
I wish that worked :( everything else works...
I wish that worked :( everything else works except for the top text and the remaining text on the bottom. is there a way to clear a line if the value is 0?

Brian 38 38 40 116 96 A...
3,312
Posted By DualPandas
cool thanks :) so now it displays Name ...
cool thanks :)
so now it displays Name Exam1 Exam2 Exam3 0 0 F
Karen 25 28 12 65 21 D
Tom 23 12 30 65 21 D
Jane 31...
3,312
Posted By DualPandas
Thanks :) First I need to know how to get the...
Thanks :) First I need to know how to get the script to calculate the average.
3,312
Posted By DualPandas
Bourne Script, sorting and getting average of file
Hi I am trying to get a bourne shell script to sort a file for me. Here is what i currently have:
#/bin/sh
echo "Name Exam1 Exam2 Exam3 Total Grade" > final.txt
awk -f 9.awk grades.txt |...
Showing results 1 to 8 of 8

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