svn diffã¯ç½é»ã§åããã«ããã®ã§ãè²ãä»ããããªã¨èª¿ã¹ãçµæãã¾ã¨ãã 1. vimã使ã£ã¦è²ä»ã è·å ´ã®äººã«æãã¦ãããã¾ããã以ä¸ã®ããã«svn diffã®çµæããã¤ãã§vimã«æ¸¡ãã¦ãããæ¹æ³ã svn diff | vim -R - æ¯åã³ãã³ãæã¤ã®ãé¢åãªã®ã§ãå°ã工夫ãã¦ç°¡åãªã³ãã³ãã«ç½®ãæãã vi $HOME/bin/svndiff --------------------------------- #!/bin/bash SVN="/usr/bin/svn"  #ç°å¢ã«åããã¦å¤ããã¹ã VIM="/usr/local/bin/vim"  #ç°å¢ã«åããã¦å¤ããã¹ã $SVN diff $@ | $VIM -R - --------------------------------- å¼æ°ãåãã®ã§ããã¡ã¤ã«æå®ã®svndiffãå¯è½ã ãã ããd
String::Diff - è¡å å·®ååå¾ã¢ã¸ã¥ã¼ã« æ®éã®diffã¯è¡åä½ã§ã®å·®åãåããã§ãããä¸è¡ã®ä¸ã§ã®å·®åãã©ããã¦ãåãããã¦String::Diff(2008/06/24ãªã³ã¯åããªãããtokuhirom++)ã£ã¦ã®ãä½ãã¾ããã æ¢åã®CPANã¢ã¸ã¥ã¼ã«ã ã¨String::ShowDiffãå¾®å¦ã«è¿ãã£ããã§ãããç®çã®äºãåºæ¥ãªãã®ã§ä½ãã¾ããã åºæ¥ããã¨ã¯ æååå士ã®å·®åãä½ã£ã¦å¤æ´ç¡ãå ´æãå¤æ´ãåã£ãå ´æã§é åãåãã¦ä½æã my $diff = String::Diff::diff_fully('this is Perl', 'this is Ruby'); for my $line (@{ $diff->[0] }) { print "$line->[0]: '$line->[1]'\n"; } # u: 'this is ' # -: 'Perl' fo
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}