Hacker News new | past | comments | ask | show | jobs | submit login

Interesting - unfortunately displays typical llm issues in the demo video:

> It's important to note that using `1<>` can lead to unexpected behavior if the file already exists, as it will be overwritten.

> To avoid this, you can use the `-a` option to append to the file instead of overwriting it. For example:

> `bash ls 1<> output.txt

> This will append the output of the `ls command the file `output.txt` if it already exists, or create the file if it doesn't.

Note that the example is wrong and not in line with the explanation.

Ed: AFAIK the closest thing that works would be:

    ls >> output.txt
Not sure if there are any invocations using "1<> output.txt" that would make sense in this context? Maybe binding to a custom description like 3, and using "tee --append"?



You are right. I will replace the video. Actually the last time I record it wasn't this bad. And the script was kept and I didn't make much change when recording it again.

Here's the first video I recorded for an earlier version: https://github.com/simonmysun/ell/blob/d4fc5468157fa6adc8f9f...

Unfortunately, LLMs are not stable.

For reference, here's the link to the video with mistake:

https://github.com/user-attachments/assets/1355ad08-6fbf-4c0... https://github.com/simonmysun/ell/blob/553d38f60ad104893b2a3...




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: