LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-05-2012, 12:19 PM   #16
summer
LQ Newbie
 
Registered: Oct 2012
Posts: 12

Original Poster
Rep: Reputation: Disabled

when I entered
cat logFile1 logFile2 | ./zprogram11.pl

it does not do anything...
[myuser@server1 ~]$ cat logdata logdata2| ./zprogram11.pl
[myuser@server1 ~]$

It supposed to print out how many errors are there in that file.
 
Old 12-05-2012, 12:22 PM   #17
Sergei Steshenko
Senior Member
 
Registered: May 2005
Posts: 4,481

Rep: Reputation: 454Reputation: 454Reputation: 454Reputation: 454Reputation: 454
Quote:
Originally Posted by summer View Post
when I entered
cat logFile1 logFile2 | ./zprogram11.pl

it does not do anything...
[myuser@server1 ~]$ cat logdata logdata2| ./zprogram11.pl
[myuser@server1 ~]$

It supposed to print out how many errors are there in that file.
So, finally you have to do some debugging. Which consists of comparing expected and actual behavior at various points and understanding why they differ.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:45 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