PASTEBIN
| #1 paste tool since 2002
create new paste
tools
api
archive
faq
PASTEBIN
create new paste
trending pastes
sign up
login
my alerts
my settings
my profile
Don't like ads?
PRO users
don't see any ads ;-)
Public Pastes
Untitled
8 sec ago
Untitled
10 sec ago
Untitled
11 sec ago
Untitled
14 sec ago
Untitled
17 sec ago
Untitled
23 sec ago
Untitled
24 sec ago
Untitled
28 sec ago
Untitled
By: a guest on
Jan 8th, 2011
| syntax:
Bash
| size: 0.16 KB | hits: 73 | expires: Never
download
|
raw
|
embed
|
report abuse
|
print
This paste has a previous version,
view the difference
.
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
cd
"
$pkgdir
if grep -Rl "
/
google
/
c
"hrome"
*
>
/
dev
/
null 2
>&
1
;
then
sed
-i
"s/google\/chrome/google-chrome/g"
$
(
grep
-Rl
"/google/chrome"
*
)
fi
create a
new version
of this paste
RAW Paste Data
cd "$pkgdir if grep -Rl "/google/c"hrome" * > /dev/null 2>&1; then sed -i "s/google\/chrome/google-chrome/g" $(grep -Rl "/google/chrome" *) fi