Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. DiscoPants

    Field length manipulation question?

    Hello, I wonder if anybody can help. I have a large awk program which outputs a list of characters with any number of null spaces between them follwed by a varying number of null spaces., I need to format the output so as to just show the field without the trailing spaces. For example, I may...
  2. DiscoPants

    'Bug' with formatted printing ?

    Cheers mate, I'd decided to use a floating number too. Just can't understand why multiplying a number with 2dp by 100 can go wrong! Cheers!
  3. DiscoPants

    'Bug' with formatted printing ?

    Hello, I wonder if anybody can help? Below is a simple command to print a mathematical equation giving the correct return:- > echo "a" | awk '{ print(70.57 * 100) }' 7057 If I try and format this using a decimal integer I get the wrong return:- echo "a" | awk '{...

Part and Inventory Search

Back
Top