Theory and Practice
About Archives Categories Tags Authors 中文 ไทย
  1. Tags
  2. sed

Find Image With Specific Dimension Using Command Line

December 19, 2021

Find images with specific dimension using Linux command line.

 read more »

[Bash] Move Directories and Modify Path in Files

January 18, 2017

Replace specific pattern of strings in HTML files under directory via sed.

 read more »

[sed] Replace String in Directory

January 11, 2017

Replace specific pattern of strings in HTML files under directory via sed.

 read more »

[Bash] Process HTML Files Format in Volumn

April 26, 2016

Convert the format (Big5 encoding to UTF-8, remove DOS newline in file, replace string big5 with UTF-8, and append UNIX newline to end of file) of HTML files in directory via Bash script.

 read more »

[Bash] Encoding Conversion, Newline Manipulation, String Replacement of File

April 20, 2016

Convert encoding of file from Big5 to UTF-8, remove DOS newline in file, replace string big5 with UTF-8, and append UNIX newline to end of file.

 read more »

[sed] Replace reStructuredText Link by Regular Expression

March 30, 2016

Make reStructuredText links of the same name anonymous via regular expression by sed stream editor.

 read more »

[sed] Replace Footnote by Regular Expression

March 29, 2016

Replace footnote in reStructuredText format via regular expression by sed stream editor.

 read more »

[sed] Insert Line After First Pattern Match

March 20, 2016

Insert a line after first pattern match via sed stream editor.

 read more »

[sed] Append Text at the Beginning of Each Line

March 15, 2016

Append text at the beginning of each line via sed stream editor.

 read more »

[Makefile] Convert Traditional Chinese PO file to Simplified Chinese via OpenCC

March 12, 2016

Convert Traditional Chinese PO file to Simplified Chinese via OpenCC and sed in Makefile.

 read more »

[Makefile] Concetenate and Minify CSS via sed and tr Command

March 11, 2016

Concatenate and Minify CSS via sed and tr command in Makefile.

 read more »

xgettext Extract Translatable Strings From Golang html/template

January 19, 2016

Use xgettext (one of GNU gettext utilities) to extract translatable strings from HTML templates of Go html/template.

 read more »

i18n Golang Web Application by gettext and html/template

January 19, 2016

i18n (Internationalization) Go web applications by GNU gettext tools and html/template. Use PO and MO files generated by gettext in Golang web application to render HTML of specific languages by html/template.

 read more »

Internationalization (i18n) of Web Application by GNU gettext Tools

January 07, 2016

Support multiple languages in your (web) applications, by GNU gettext tools, which include xgettext, msginit, msgmerge, and msgfmt.

 read more »

[Bash] List All Files in Directory Recursively and Rename

February 02, 2015

List all files in a directory recursively (i.e., including subdirectories of the directory), and use sed to rename the files.

 read more »
Powered by Github Pages, Pelican, pyScss.