ebouchut + bash   46

petervanderdoes/git-flow-completion: Bash, Zsh and fish completion support for git-flow.
Bash, Zsh and fish completion support for git-flow. - petervanderdoes/git-flow-completion
git  flox  gitflow  competion  shell  bash  zsh  complete  command  line  CLI  option  argument  branch 
november 2018 by ebouchut
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 
november 2018 by ebouchut
Un prompt Git qui déchire • Delicious Insights
Nous formons en Git, JavaScript, Node.js… Consultez également nos articles, assistez à nos conférences.
git  prompt  bash  config  configuration 
october 2018 by ebouchut
koalaman/shellcheck: ShellCheck, a static analysis tool for shell scripts
ShellCheck, a static analysis tool for shell scripts - koalaman/shellcheck
shell  syntax  analysis  tool  static  check  validate  bug  error  find  locate  search  bash  lint  cli  tools  script 
october 2018 by ebouchut
Bash-it/bash-it: A community Bash framework.
Bash-it is a collection of community Bash commands and scripts for Bash 3.2+. (And a shameless ripoff of oh-my-zsh 😃)

Includes autocompletion, themes, aliases, custom functions, a few stolen pieces from Steve Losh, and more.

Bash-it provides a solid framework for using, developing and maintaining shell scripts and custom commands for your daily work. If you're using the Bourne Again Shell (Bash) on a regular basis and have been looking for an easy way on how to keep all of these nice little s...
bash  shell  cli  framework  customize  theme  alias  autocomplete 
september 2018 by ebouchut
dotphiles/dotzsh: A community driven framework for zsh
an Apple-introduced problem in Mac OS X 10.5 Leopard by executing the following command, or BASH and Zsh will have the wrong PATH when executed non-interactively."
non  macos  workaround  zsh  ruby  interactive  path  apple  rvm  vim  incorrect  invalid  macosx  version  Bug  path_helper  wrong  fix  issue  mac  shell  problem  rbenv  bash 
april 2016 by ebouchut
powerline/powerline: Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile.
"Powerline is a statusline plugin for vim, and provides statuslines and prompts for several other applications, including zsh, bash, tmux, IPython, Awesome and Qtile."
vim  tmux  plugin  color  status  line  prompt  zsh  bash  shell 
march 2016 by ebouchut
Bash,Zsh: entering backslash escaped characters n t ' "
Words of the form $'string' are treated specially. The word expands to string, with backslash-escaped characters replaced as specified by the ANSI C standard.

LC_ALL=C sort -t$'\t' -n -k2,2 names_ages.tsv
bash  zsh  linux  escape  special  character  backslash  tab  newline  sort 
june 2015 by ebouchut
string - Extract filename and extension in bash - Stack Overflow
${variable%pattern}
Trim the shortest match from the end

${variable%%pattern}
Trim the longest match from the end

${variable##pattern}
Trim the longest match from the beginning

${variable#pattern}
Trim the shortest match from the beginning


Source:
* http://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html#Shell-Parameter-Expansion
linux  shell  unix  bash  filename  extension  suffix  script 
april 2015 by ebouchut
Explain shell - A site to explain shell commands
"This site contains 29761 parsed manpages from sections 1 and 8 found in Ubuntu's manpage repository. A lot of heuristics were used to extract the arguments of each program, and there are errors here and there, especially in manpages that have a non-standard layout."
shell  command  syntax  explain  bash  unix  linux  ubuntu  line  learn 
february 2015 by ebouchut
record the terminal session and replay later » Linux by Examples
# Record
script -t 2> record.timing -a record.session

# Replay
scriptreplay record.timing record.session
shell  bash  zsh  record  session  screen  keyboard  save  input  output  terminal  replay 
november 2014 by ebouchut
Bash process substitution
"For tools like diff that work with multiple files as parameters, it can be useful to work with not just files on the filesystem, but also potentially with the output of arbitrary commands. "
diff  grep  command  pipe  output  input  IO  redirection  shell  bash 
february 2012 by ebouchut
GNU Parallel - GNU Project - Free Software Foundation
"GNU parallel is a shell tool for executing jobs in parallel using one or more computers. A job is can be a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts, a list of users, a list of URLs, or a list of tables. A job can also be a command that reads from a pipe. GNU parallel can then split the input and pipe it into commands in parallel.

If you use xargs and tee today you will find GNU parallel very easy to use as GNU parallel is written to have the same options as xargs. If you write loops in shell, you will find GNU parallel may be able to replace most of the loops and make them run faster by running several jobs in parallel.

GNU parallel makes sure output from the commands is the same output as you would get had you run the commands sequentially. This makes it possible to use output from GNU parallel as input for other programs.

For each line of input GNU parallel will execute command wi
gnu  xargs  parallel  shell  linux  bash  command  multiple 
march 2011 by ebouchut

related tags

ack  advantage  ag  alias  analysis  angular  ansible  apple  argument  autocomplete  automate  backbone  background  backslash  bash  bashrc  book  bourne  branch  bug  but  call  cd  change  character  cheatsheet  check  chef  cli  color  command  compare  comparison  competion  complete  config  configuration  configure  console  cp  cron  csh  css  curl  customize  dash  date  datetime  debug  default  define  diff  difference  directory  display  docker  documentation  dotfiles  easyalign  EC2  element  elixir  emacs  error  ES6  escape  exclude  expand  expansion  explain  extension  factory_girl  feature  file  filename  find  fix  flox  foreground  framework  generate  generator  getopt  git  gitflow  glob  gnu  go  grep  guide  history  HTML  if  image  incorrect  init  input  integration  interactive  interpolate  interpolation  interpreter  invalid  IO  issue  item  iterate  javascript  jekyll  jquery  jump  keep  keyboard  kramdown  ksh  language  learn  library  line  lint  linux  load  locate  location  log  logging  ls  mac  macos  macosx  man  markdown  message  move  multiple  mv  negation  nested  newline  non  not  npm  online  option  order  output  parallel  parameter  parse  parser  parsing  path  path_helper  pattern  phoenix  pipe  plugin  plus  precedence  preserve  print  problem  profile  program  programming  projectionist  prompt  ps  PS1  rails  rbenv  rc  rcm  rdoc  react  record  redirection  redux  reference  replace  replay  rm  rst  ruby  rvm  saas  save  screen  script  scripting  search  sed  select  selector  session  set  several  sh  shell  software  some  sort  special  stack  starred  startup  static  status  stderr  sublime  substitute  substitution  suffix  syntax  tab  tabular  tcsh  terminal  test  textile  theme  thoughbot  time  tips  tmux  tool  tools  tput  trace  tree  tutorial  ubuntu  unite  unix  upcase  utility  vagrant  validate  variable  version  video  vim  visual  web  weechat  wildcard  window  workaround  wrong  xargs  xpath  yaml  zsh 

Copy this bookmark:



description:


tags: