File: ptr_state_key.bash

package info (click to toggle)
freecell-solver 3.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 4,332 kB
  • sloc: ansic: 29,493; perl: 8,911; xml: 5,162; python: 1,124; sh: 777; ruby: 358; cpp: 304; makefile: 150
file content (3 lines) | stat: -rw-r--r-- 209 bytes parent folder | download | duplicates (3)
1
2
3
#!/bin/bash
# ruby -p -i -e '$_.gsub!(/\bptr_state_with_locations_(key|val)\b/) { |s| "ptr_state_#{$1}" }' *.[ch]
ruby -pi -e 'gsub! /\bptr_state_with_locations_orig_(key|val)\b/, "ptr_orig_state_\\1"' *.[ch]