Added shorter file creation syntax. Closes #22

This commit is contained in:
Dylan Araps
2018-06-21 11:30:38 +10:00
parent 09a315df8d
commit b5a2ad5e0a
2 changed files with 8 additions and 6 deletions

View File

@@ -916,9 +916,10 @@ Alternative to `touch`.
```shell ```shell
# Shortest. # Shortest.
:> file >file
# Longer alternatives: # Longer alternatives:
:>file
echo -n >file echo -n >file
printf '' >file printf '' >file
``` ```

View File

@@ -151,9 +151,10 @@ Alternative to `touch`.
```shell ```shell
# Shortest. # Shortest.
:> file >file
# Longer alternatives: # Longer alternatives:
:>file
echo -n >file echo -n >file
printf '' >file printf '' >file
``` ```