Created
December 16, 2014 10:43
-
-
Save kb10uy/fcbace51e40cd4264eb9 to your computer and use it in GitHub Desktop.
こころぴょんぴょんあーの氏のDaydream.exeでにゅうりょこころぴょんぴょんうされたぶんしょうをそれっぽこころぴょんぴょんうもとにもどすツール
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.IO; | |
| using System.Text; | |
| public class DisDaydream { | |
| public static void Main(string[] args) { | |
| if (args.Length==0) { | |
| Console.WriteLine("Usage : DisDaydream <input file> [<output file>]"); | |
| } | |
| var inputf=args[0]; | |
| var str=File.ReadAllText(inputf); | |
| str=str.Replace("こころぴょんぴょんあ","か"); | |
| str=str.Replace("こころぴょんぴょんい","き"); | |
| str=str.Replace("こころぴょんぴょんう","く"); | |
| str=str.Replace("こころぴょんぴょんえ","け"); | |
| str=str.Replace("こころぴょんぴょんお","こ"); | |
| str=str.Replace("こころぴょんぴょんや","きゃ"); | |
| str=str.Replace("こころぴょんぴょんゆ","きゅ"); | |
| str=str.Replace("こころぴょんぴょんよ","きょ"); | |
| if (args.Length==2) { | |
| File.WriteAllText(args[1],str); | |
| } else { | |
| Console.WriteLine(str); | |
| Console.ReadLine(); | |
| } | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment