Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56299065
arc-paste-diff
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
279 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/x-shellscript
Expires
Fri, Nov 6, 19:03 (2 d, 17 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4184416
Default Alt Text
arc-paste-diff (279 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment