Skip to content

Instantly share code, notes, and snippets.

@lgarron
Last active April 5, 2017 04:24

Revisions

  1. lgarron revised this gist Apr 5, 2017. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion replace.fish
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,6 @@
    # brew install gsed

    for file in (ag -i -l "PageInfoPopupView" .)
    echo $file
    sed --in-place="" "s/PageInfoPopupView/PageInfoBubbleView/g" $file
    gsed --in-place="" "s/PageInfoPopupView/PageInfoBubbleView/g" $file
    end
  2. lgarron created this gist Apr 5, 2017.
    5 changes: 5 additions & 0 deletions replace.fish
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@

    for file in (ag -i -l "PageInfoPopupView" .)
    echo $file
    sed --in-place="" "s/PageInfoPopupView/PageInfoBubbleView/g" $file
    end