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
+2 -1
View File
@@ -916,9 +916,10 @@ Alternative to `touch`.
```shell
# Shortest.
:> file
>file
# Longer alternatives:
:>file
echo -n >file
printf '' >file
```
+2 -1
View File
@@ -151,9 +151,10 @@ Alternative to `touch`.
```shell
# Shortest.
:> file
>file
# Longer alternatives:
:>file
echo -n >file
printf '' >file
```