diff options
author | Tyler Murphy <tylerm@tylerm.dev> | 2023-04-27 19:13:40 -0400 |
---|---|---|
committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-04-27 19:13:40 -0400 |
commit | 2cdbf9cbab32fe69731fe5e1e7d72e791f7a9a2a (patch) | |
tree | 400ec8e22d2c156f5018b574ea18551c570be47b /src | |
parent | add echo and pritnf (diff) | |
download | lazysphere-2cdbf9cbab32fe69731fe5e1e7d72e791f7a9a2a.tar.gz lazysphere-2cdbf9cbab32fe69731fe5e1e7d72e791f7a9a2a.tar.bz2 lazysphere-2cdbf9cbab32fe69731fe5e1e7d72e791f7a9a2a.zip |
remove tabs
Diffstat (limited to 'src')
-rw-r--r-- | src/commands/cat.c | 12 | ||||
-rw-r--r-- | src/commands/dd.c | 6 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/commands/cat.c b/src/commands/cat.c index e2c471b..f5622e8 100644 --- a/src/commands/cat.c +++ b/src/commands/cat.c @@ -24,12 +24,12 @@ static bool printable(char c) { static void help() { printf("Usage: cat [-nbvteA] [FILE]...\n\n"); printf("Print FILEs to stdout\n\n"); - printf("-n Number output lines\n"); - printf("-b Number nonempty lines\n"); - printf("-v Show nonprinting characters as ^x or M-x\n"); - printf("-t ...and tabs as ^I\n"); - printf("-e ...and end lines with $\n"); - printf("-A Same as -vte\n"); + printf("-n Number output lines\n"); + printf("-b Number nonempty lines\n"); + printf("-v Show nonprinting characters as ^x or M-x\n"); + printf("-t ...and tabs as ^I\n"); + printf("-e ...and end lines with $\n"); + printf("-A Same as -vte\n"); exit(EXIT_SUCCESS); } diff --git a/src/commands/dd.c b/src/commands/dd.c index 278dee3..8acde7d 100644 --- a/src/commands/dd.c +++ b/src/commands/dd.c @@ -5,9 +5,9 @@ static void help() { printf("Usage: dd [if=FILE] [of=FILE] [bs=N] [count=N]\n\n"); printf("Copy a file with converting and formatting\n\n"); printf("if=FILE\t\tRead from FILE instead of stdin\n"); - printf("of=FILE\t\tWrite to FILE instead of stdout\n"); - printf("bs=N\t\tRead and write N bytes at a time\n"); - printf("count=N\t\tCopy only N input blocks\n"); + printf("of=FILE\t\tWrite to FILE instead of stdout\n"); + printf("bs=N\t\tRead and write N bytes at a time\n"); + printf("count=N\t\tCopy only N input blocks\n"); exit(EXIT_SUCCESS); } |