LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-22-2012, 03:18 PM   #16
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965

Quote:
Originally Posted by eyadgh View Post
my friend it didnt work !!

1-yes every prfix of each company is 7 digit
2- we must chek(dividing & chek) time of each call (in same company ) then sum it
3-print sum of time of each company alone

you are great programmer again thanks
Since you've been given tutorials, code samples, and detailed explanations, why don't YOU post what you have written yourself??? We will always be happy to help, but you have to show some effort on your own, too.
 
Old 12-23-2012, 04:02 PM   #17
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
Quote:
Originally Posted by eyadgh View Post
my friend it didnt work !!
Also, this is not useful at all.

How did it not work? What exactly did you do, and what output did you get when you did it? Did you get any error messages? Did you try anything to fix it on your own? Is there anything about your version of awk, shell, or OS that we need to know about?

Remember, we cannot see your screen and we know nothing about your particular circumstances, other than what you tell us. You have to give us more details if you want practical advice.

I posted the command I did because I figured it was probably something that was beyond your current level of ability (and because I found it an interesting challenge to work out for myself), but in the end it's only a general how-to demonstration. It's now up to you to take what I've given you, study and learn from it, and apply it to your own particular situation. Again, we'll help you, but it's not our job to to it all for you.
 
1 members found this post helpful.
Old 12-26-2012, 01:58 PM   #18
eyadgh
Member
 
Registered: Dec 2012
Posts: 40

Original Poster
Rep: Reputation: Disabled
hiz my friend finally i do it !!
i'm so happy
 
Old 12-27-2012, 03:33 PM   #19
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by eyadgh View Post
hiz my friend finally i do it !!
i'm so happy
So why don't you post the solution, so others who need help can find it?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
parsing a text file - to awk or not to awk ? rollyah Programming 9 08-18-2011 02:20 PM
[SOLVED] find the total of numbers that are higher than x in a text file with numbers (using awk??) Mike_V Programming 12 11-24-2010 09:51 AM
Awk function for parsing files nev2010 Red Hat 4 11-18-2010 08:28 AM
awk question - parsing in a pipeline nysalsa Programming 2 10-06-2009 07:33 PM
Parsing using awk tungaw2001 Programming 2 03-27-2007 05:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration