QGIS/scripts/fix_allows_to.sh

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

84 lines
1.7 KiB
Bash
Raw Normal View History

2018-06-05 11:22:18 +02:00
#!/usr/bin/env bash
2014-05-17 17:35:27 +02:00
IFS=:
cat <<EOF |
access:accessing
adapt:adapting
application:applying
apply:applying
change:changing
choose:choosing
combine:combining
continue:continuing
control:controlling
convert:converting
create:creating
customize:customizing
define:defining
determine:determining
disable:disabling
2014-05-17 17:35:27 +02:00
discard:discarding
display:displaying
drop:dropping
edit and save python file:editing and saving python files
edit:editing
2016-01-21 10:39:47 +01:00
enable or disable:enabling or disabling
2014-05-17 17:35:27 +02:00
enable:enabling
enter:entering
estimate:estimating
exit:exiting
export:exporting
extract:extracgin
filter:filtering
fix:fixing
2014-05-17 17:35:27 +02:00
first sub-sample:sub-sampling first
fuse:fusing
generate:generating
handle:handling
input:inputting
insert:inserting
interactively manipulate:interactive manipulation
manage:managing
map:mapping
move:moving
ortho-rectify:ortho-rectifying
parametrize:parametrizing
parse:parsing
perform:performing
performs:performing
reduce:reducing
remove:removing
render:rendering
reproject and rasterize:reprojecting and rasterizing
reproject:reprojecting
restrict:restricting
retrieve:retrieving
save:saving
scroll:scrolling
2014-05-17 17:35:27 +02:00
select:selecting
selecting:selecting
set:setting
shorten:shortening
simplify:simplifying
speed-up:speeding up
split:splitting
2014-05-17 17:35:27 +02:00
store:storing
2016-01-24 20:16:19 +01:00
suppress:suppressing
2014-05-17 17:35:27 +02:00
use:using
write:writing
you to show:showing
compute:computing
optimize:optimizing
check:checking
quickly edit:quick editing
2014-05-17 17:35:27 +02:00
EOF
while read v i; do
echo "$v => $i"
2016-01-21 10:39:47 +01:00
git grep -l "[aA]llows to $v" >files
[ -s files ] && xargs perl -i.bak -pe "s/([aA])llows to $v\b/\$1llows $i/g" <files
2014-05-17 17:35:27 +02:00
done
2016-01-21 10:39:47 +01:00
git grep "[aA]llows to" | sed -e 's/^.*[aA]llows to \([^ ]* [^ ]*\) .*$/\1/' | sort -u
2014-05-17 17:35:27 +02:00
#git grep "allows$"
git checkout ChangeLog