Skip to content

Instantly share code, notes, and snippets.

@xhad
Last active February 24, 2017 04:58
Show Gist options
  • Save xhad/8b1bcef3bbac941ee26dd04d673e4de7 to your computer and use it in GitHub Desktop.
Save xhad/8b1bcef3bbac941ee26dd04d673e4de7 to your computer and use it in GitHub Desktop.

Revisions

  1. xhad revised this gist Feb 24, 2017. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions sed.txt
    Original file line number Diff line number Diff line change
    @@ -1 +1,3 @@
    find ./ -type f -name '*.spec.ts' -print0 | xargs -0 sed -i '/^start_string/s/it(/xit(/'

    find ./src/modules -type f -exec sed -i '/^/s/it(/xit(/g' {} \;
  2. xhad created this gist Feb 24, 2017.
    1 change: 1 addition & 0 deletions sed.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    find ./ -type f -name '*.spec.ts' -print0 | xargs -0 sed -i '/^start_string/s/it(/xit(/'