diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-09-03 12:42:10 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-09-03 12:42:10 +0800 |
commit | efa1266f10e90c0c46f47cc06645422142cb2d9f (patch) | |
tree | 3d8cfefb81ce4645d150c08fc52ad646b6da80e2 /test/base/SubProcessHelper/CruTee.cpp | |
parent | 5e59a8e38c9f8992e6ffd9dbbde11e1f873780e1 (diff) | |
download | cru-efa1266f10e90c0c46f47cc06645422142cb2d9f.tar.gz cru-efa1266f10e90c0c46f47cc06645422142cb2d9f.tar.bz2 cru-efa1266f10e90c0c46f47cc06645422142cb2d9f.zip |
common -> base in test dir.
Diffstat (limited to 'test/base/SubProcessHelper/CruTee.cpp')
-rw-r--r-- | test/base/SubProcessHelper/CruTee.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/base/SubProcessHelper/CruTee.cpp b/test/base/SubProcessHelper/CruTee.cpp new file mode 100644 index 00000000..4470d2a8 --- /dev/null +++ b/test/base/SubProcessHelper/CruTee.cpp @@ -0,0 +1,10 @@ +#include <iostream> +#include <string> + +int main() { + std::string s; + while (std::cin >> s) { + std::cout << s; + } + return 0; +} |