Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~567 People Reached
Favorite Forums
Favorite Tags
Member Avatar for rupes0610

I am attempting to remove 3 commas from the file below but it is not working. #!/usr/bin/perl use strict; use warnings; my @data; my @line; open(FH, "error_log"); @data = foreach $line (@data) { if ($line =~ /notice/) { if ($line =~ /rdy/) { $line =~ s/ /,/g; my @L1 = …

Member Avatar for 2teez
0
116
Member Avatar for rupes0610

I have a tab delimited text file with text like this: Wed Jun 13 01:00:19 2012 | error | client xx.xxx.xxx.x | rdy 784 bsy 16 The pipe | signifies that the tab delimiter. I need to convert this into a CSV file using Java. I also need to split …

Member Avatar for Ezzaral
0
142
Member Avatar for rupes0610

I have a Sudoku puzzle and I need to make sure that each row and column have each number 1 through 9. What is the easiest way of doing this? The code snippet that I have so far is below. public static boolean rowsAreValid(int[][] array){ for(int i = 0; i …

Member Avatar for hfx642
0
309