ebouchut + substitute   5

How To Use Bash Parameter Substitution Like A Pro - nixCraft
Explains how to use Bash Parameter Substitution for string matriculation and expansion - includes tons of practical examples.
bash  parameter  variable  option  replace  expand  interpolate  interpolation  expansion  substitute  substitution  assign 
november 2018 by ebouchut
Sed in-place edit a file
# Remove comments in a Gemfile
# Edit and replace without using a temporary file (all in one swoop)

sed -i '' \
-e 's/#.*$//g' \
-e '/^[ \t]*$/d' \
sed  replace  file  edit  inline  change  modify  substitute  string  temporary  rename  from notes
march 2016 by ebouchut

Copy this bookmark: