Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12741565
arc-paste-diff.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
292 B
Referenced Files
None
Subscribers
None
arc-paste-diff.sh
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
Sun, Nov 16, 13:28 (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3170432
Default Alt Text
arc-paste-diff.sh (292 B)
Attached To
Mode
rWK Wynter Kitro utilities
Attached
Detach File
Event Timeline
Log In to Comment