Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. $find = '<a (name|id)="(\w*)" />'
  2. $replace = '<a $1="$2"></a>'
  3. $match = 'README.md'
  4.  
  5. gci -r -i $match | % {
  6. (gc $_ ) | % { $_ -replace $find, $replace } | sc $_
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement