My other free software | My homepage | My soft blog

My shell scripts

x - starting X programs from command line

Bash script

Example:

x gedit

a blog post about x

inplace - modifying files inplace

Bash script

Performs inplace transformation of file(s).
  --help       Show help
  --version    Show version info
  -i           Interactively ask confirmation
  -n           Don't backup
  -s <suffix>  Backup suffix (default .bak)
  -d <diffcmd> Comparison command (default "cmp -s", can be e.g. "diff -u")
  -v           Be verbose
  
Example: inplace -v "sed -e s/John/Paul/g \\\$IN > \\\$OUT" file.txt

My other free software | My homepage | My soft blog