fileparsing
how to seperate a csv file using commas if it has null values and we need data corresponding to upper column?
My code is BufferedReader fileReader = new BufferedReader(new FileReader(strFileName)); while ((strLine = fileReader.readLine()) != null) {[详细]
2023-03-30 17:34 分类:问答How to read a file in python which has newline and tabs into a string?
I am trying to read a file which has tabs and newline etc and the data is JSON format. When I read it using file.read()/readlines() etc, all the newlines and tabs are also read.[详细]
2023-03-22 22:20 分类:问答Check for unique line data from file with 5 millions lines in Java
I have big file with row like ID|VALUE in one pass. In case of ID repeat, line must be ignored. How to effectively make this checking?[详细]
2023-03-17 20:53 分类:问答Is there a list of Ruby File Parsing questions/puzzles [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-03-13 09:41 分类:问答How I can skip a blank line in an input file when using strtok?
I wa开发者_如何学编程nt to pass lines of a file using strtok; the values are comma separated. However, strtok also reads blank lines which only contain spaces. Isn\'t it suppose to return a null point[详细]
2023-03-11 08:43 分类:问答help merging perl code routines together for file processing
I need some perl help in putting these (2) processes/code to work together. I was able to get them working individually to test, but I need help bringing them together especially with using the loop c[详细]
2023-02-11 06:06 分类:问答Perl script to update one row of a file with another
I have data files in text format which have several rows. Now there are certain rows that have wrong data which I need to update with those that have the correct data. For example,[详细]
2023-02-08 20:40 分类:问答A rotating log file in perl
I have implemented a log file that will be storing the cpu and memory state of a process after every minute.I have limited the maximum size of th开发者_如何学Ce file to 3MB (thats enough for my purpos[详细]
2023-02-04 03:47 分类:问答Generate binary file with given structure
I have a device witch use binary format style config, and i have to generate that files on-the-fly. File structure must consist of a number of configuration settings (1 per parameter) each of the for[详细]
2023-01-13 14:58 分类:问答File processing in java
I have a file of size 2GB which has student records in it. I need to find students based on certain attributes in each record and create a new file with results. The order of the filtered students sho[详细]
2023-01-12 21:20 分类:问答