Videogrep: Difference between revisions

From XPUB & Lens-Based wiki
Line 11: Line 11:
* [http://aspell.net/charsets/iso8859.html ISO-8859]
* [http://aspell.net/charsets/iso8859.html ISO-8859]
* UTF-8
* UTF-8
file nameofyourfile.srt


=== Redirecting stderr to stdout ===
=== Redirecting stderr to stdout ===

Revision as of 22:31, 7 October 2010

aka grep meets SRT

The idea of this assignment is to familiarize yourself with:

  • basic text/code editing in Linux
  • commandline basics
  • big idea: working in a "pipeline" (both literally, and more metaphorically)

Ingredients

Plain text?

file nameofyourfile.srt

Redirecting stderr to stdout

2>&1

[1]

Search & Replace

sed is good for search and replace...

sed s/a/*/g from to


http://www.archive.org/details/night_of_the_living_dead