Search Results

Search: Posts Made By: Boltftw
1,213
Posted By Boltftw
Thanks! My scrip works now!
Thanks! My scrip works now!
1,213
Posted By Boltftw
Awk Count Pattern problem.
I want to keep a count of a all the records processed in a input file. The input file would have a lot of data containing various information. Lets say I make a pattern that only prints out data with...
3,335
Posted By Boltftw
I just want to print out the the total of one...
I just want to print out the the total of one column. I have tried:

{ total += $4}

But it is not showing me the correct total.

---------- Post updated at 09:44 PM ---------- Previous update...
3,335
Posted By Boltftw
Awk addition
How would I print out the total amount through awk? I tried using

print "Total Amount: " $4+$4;

Would I have to do a for loop to get through everything?
1,709
Posted By Boltftw
Error checking help.
I am currently wrapping up a assignment for one of my classes. I need help writing some error checking logic. The problems I am having are:



keeping track of the records I have deleted and...
4,488
Posted By Boltftw
Case statements and creating a file database
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

The...
2,132
Posted By Boltftw
When I fix my code and try that, it gives me ...
When I fix my code and try that, it gives me

z1624194@turing:~/csci330$ nano z1624194.spell
z1624194@turing:~/csci330$ ./z1624194.spell
./z1624194.spell: line 13: $1: ambiguous redirect...
2,132
Posted By Boltftw
I'm not home to do a quick correction on my code...
I'm not home to do a quick correction on my code but what would be the difference and putting the spaces in?
2,132
Posted By Boltftw
Ispell Script Run Errors
I am going to get straight to the point. I am writing a script that acts as a simple spell checker using ispell. This script makes a list of mispelled words and prompts the user if he or she would...
Showing results 1 to 9 of 9

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