Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on programming.dev

14 replies

I thought that was…

mandated

YyyYyYeeeaaaAaaAaaAhhHhHhhhHH

12

I'm addition to tldr which someone else suggested, there's also the cheat command. It's pretty easy to add to it's cheat sheets, if you have custom commands, or want to keep a specific example. I've never kept a physical cheat sheet... They're just too inconvenient and my fingers are probably already at the keyboard.

7
sh.itjust.works

LLMs do this pretty well. I've used them for date/time formatting strings across a number of languages.

-1
JackbyDevreply
programming.dev

They once wrote me a massive script for parsing a history file instead of telling me about history -i

2
atzanteolreply
sh.itjust.works

The other "real person" who replied to me told me that the Linux date command has nothing to do with formatting.

-1
JackbyDevreply
programming.dev

Second sentence of the description from the man pages, "Otherwise, depending on the options specified, date will set the date and time or print it in a user-defined way." not sure what they were on about.

2
atzanteolreply
sh.itjust.works

Right - I'm just saying that it's super annoying that people point out times that llms have been wrong as though humans are never wrong, or even aren't wrong frequently.

3

I get that. It's funny I think I've gotten advice in the past to always check the results of search engines because they can be wrong (as in teachers said it to me) or things about Wikipedia being unreliable. But nobody does those things nowadays. Perhaps someday LLMs will be good enough that we don't need to check them either.

1
nyanreply
sh.itjust.works

date is the command for setting the system date and time from the command line. Nothing to do with formatting, beyond the fact that it presumably applies system locale settings when echoing date-time info.

-6

$ whatis date

date (1) - print or set the system date and time

5

You reached the end