mirror of
https://github.com/jbranchaud/til
synced 2026-10-31 16:23:27 +00:00
Fix link to another TIL in latest TIL
This commit is contained in:
@@ -9,8 +9,7 @@ The tool I found for this job is `paste` (not the most intuitive name).
|
|||||||
|
|
||||||
> merge corresponding or subsequent lines of files
|
> merge corresponding or subsequent lines of files
|
||||||
|
|
||||||
I was listing out all the categories that my active [TIL
|
I was listing out all the categories that my active [TIL posts](https://github.com/jbranchaud/til) full under. I used the following
|
||||||
posts](https://github.com/jbranchaud/til) full under. I used the following
|
|
||||||
command to do that.
|
command to do that.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@@ -27,7 +26,7 @@ chrome
|
|||||||
|
|
||||||
Those are all my categories, but then the format I really wanted was for them to
|
Those are all my categories, but then the format I really wanted was for them to
|
||||||
be all on the same line with a clear delimiter so that I could paste them for
|
be all on the same line with a clear delimiter so that I could paste them for
|
||||||
[use in another script](./llm/translate-to-canonical-tags-with-small-model.md).
|
[use in another script](/llm/translate-to-canonical-tags-with-small-model.md).
|
||||||
|
|
||||||
The trick is to tack on one more pipe to `paste`. The `-s` tells `paste` to join
|
The trick is to tack on one more pipe to `paste`. The `-s` tells `paste` to join
|
||||||
every line from a given input file (e.g. stdin) onto a single line. The `-d`
|
every line from a given input file (e.g. stdin) onto a single line. The `-d`
|
||||||
|
|||||||
Reference in New Issue
Block a user