mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-03-03 15:30:27 +00:00
拆分代码10
This commit is contained in:
13
shell/Commands/System/EchoCommand.cs
Normal file
13
shell/Commands/System/EchoCommand.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace CMLeonOS.Commands.System
|
||||
{
|
||||
public static class EchoCommand
|
||||
{
|
||||
public static void ProcessEcho(string args)
|
||||
{
|
||||
var processedArgs = args.Replace("\\n", "\n");
|
||||
Console.WriteLine(processedArgs);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user