projects
/
perl-Mifare-MAD.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
738087e
)
always create txt MAD dump, but invoke vi only with MAD=1
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 2 Feb 2011 10:54:04 +0000
(11:54 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 2 Feb 2011 10:54:04 +0000
(11:54 +0100)
nfc-card-dumper.pl
patch
|
blob
|
history
diff --git
a/nfc-card-dumper.pl
b/nfc-card-dumper.pl
index
bef1652
..
41f6691
100755
(executable)
--- a/
nfc-card-dumper.pl
+++ b/
nfc-card-dumper.pl
@@
-100,7
+100,8
@@
if ($r->init()) {
}
# view dump
}
# view dump
- $ENV{MAD} && system "./mifare-mad.pl $out_file | vi -R -";
+ system "./mifare-mad.pl $out_file > $out_file.txt";
+ $ENV{MAD} && system "vi $out_file.txt";
}
}