Mechanizing the creation or manipulation of electronic text.
I have a ~23000 line SQL dump containing several databases worth of data. I need to extract a certain section of …
unix command-line sed text-processingI have a file which contain following lines: /logs/tc0001/tomcat/tomcat7.1/conf/catalina.properties:app.env.server.name = demo.…
awk command-line text-processingI have a file as below: line1 line2 line3 And I want to get: prefixline1 prefixline2 prefixline3 I could write …
linux scripting text-processingI would like to update a large number of C++ source files with an extra include directive before any existing #…
command-line sed text-processingI would like to append a new line to an existing file without erasing the current information of that file. …
java file-io text-processingIn a Bash script, I want to pick out N random lines from input file and output to another file. …
bash shell random text-processingI want to pipe the output of a "template" file into MySQL, the file having variables like ${dbName} interspersed. What …
bash command-line text-processing templatingHow do you convert all text in Vim to lowercase? Is it even possible?
vim text-processingFILE: hello world foo bar How can I remove all the empty new lines in this FILE? Output of command: …
linux grep text-processingI want to add a specific line, lets say avatar to the files that starts with MakeFile and avatar should …
linux text-processing