Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 16th, 2012  |  syntax: None  |  size: 0.12 KB  |  hits: 8  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. array_paths_removed=()
  2. i=0
  3. for paths in ${array_paths[@]}
  4. do
  5.         array_paths_removed[i]=${paths%/*}
  6.         i=i+1
  7. done