Added shorter file creation syntax. Closes #22
This commit is contained in:
@@ -916,11 +916,12 @@ Alternative to `touch`.
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# Shortest.
|
# Shortest.
|
||||||
:> file
|
>file
|
||||||
|
|
||||||
# Longer alternatives:
|
# Longer alternatives:
|
||||||
echo -n > file
|
:>file
|
||||||
printf '' > file
|
echo -n >file
|
||||||
|
printf '' >file
|
||||||
```
|
```
|
||||||
|
|
||||||
## Extract lines between two markers
|
## Extract lines between two markers
|
||||||
|
|||||||
@@ -151,11 +151,12 @@ Alternative to `touch`.
|
|||||||
|
|
||||||
```shell
|
```shell
|
||||||
# Shortest.
|
# Shortest.
|
||||||
:> file
|
>file
|
||||||
|
|
||||||
# Longer alternatives:
|
# Longer alternatives:
|
||||||
echo -n > file
|
:>file
|
||||||
printf '' > file
|
echo -n >file
|
||||||
|
printf '' >file
|
||||||
```
|
```
|
||||||
|
|
||||||
## Extract lines between two markers
|
## Extract lines between two markers
|
||||||
|
|||||||
Reference in New Issue
Block a user