Top "File-processing" questions

Randomly Pick Lines From a File Without Slurping It With Unix

I have a 10^7 lines file, in which I want to choose 1/100 of lines randomly from the file. This is the …

linux unix awk random-sample file-processing
Can I write a file to a folder on a server machine from a Web API app running on it?

I have this code in my Web API app to write to a CSV file: private void SaveToCSV(InventoryItem invItem, …

c# asp.net-web-api file-permissions streamwriter file-processing
VBA Excel File Open Prompt Cancel Error

So I am using a file open prompt to gather a filename. I then open this file in a background …

excel vba error-handling file-processing
Read in data from excel file in C

I need to write a program that can read the relevant information from a file and output the maintenance needs …

c file-processing read-data
Splitting command line args with GNU parallel

Using GNU parallel: http://www.gnu.org/software/parallel/ I have a program that takes two arguments, e.g. $ ./prog …

bash file-processing gnu-parallel
Printing tokenized data from file in C

I've been trying to read in data from a file by tokenizing it first. In this example, I've made it …

c token file-processing
reading input from text file into array of structures in c

My structure definition is, typedef struct { int taxid; int geneid; char goid[20]; char evidence[4]; char qualifier[20]; char goterm[50]; char pubmed; …

c arrays structure file-processing
Nodejs Read very large file(~10GB), Process line by line then write to other file

I have a 10 GB log file in a particular format, I want to process this file line by line and …

node.js file-io large-files file-handling file-processing
Read words in a specific line in a text file using shell script

In my Bash shell script, I would like to read a specific line from a file; that is delimited by : …

bash shell csv file-processing
Python - reading files from directory file not found in subdirectory (which is there)

I am convinced it is something simply syntactic - I however can not figure out why my code: import os …

python file-processing