mirror of
https://github.com/Leonmmcoset/CMLeonOS.git
synced 2026-04-24 03:24:00 +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