Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F17296
arc-paste-diff
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Jan 21 2016, 20:14
2016-01-21 20:14:05 (UTC+0)
Size
280 B
Referenced Files
None
Subscribers
None
arc-paste-diff
View Options
#!/usr/bin/env bash
COLORDIFF
=
`
which colordiff
`
if
[
$#
-ne
2
]
then
echo
"Usage: `basename
$0
` <paste 1> <paste 2>"
exit
1
fi
if
[
"
$COLORDIFF
"
=
""
]
;
then
diff -u <
(
arc paste
$1
)
<
(
arc paste
$2
)
else
diff -u <
(
arc paste
$1
)
<
(
arc paste
$2
)
|
colordiff
fi
File Metadata
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15306
Default Alt Text
arc-paste-diff (280 B)
Attached To
Mode
P156 arc-paste-diff
Attached
Detach File
Event Timeline
Log In to Comment