Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
story
0 points
navbaker
11y ago
0 comments
Share
I'm a relative newcomer to the command line and have been Googling around for what exactly the () {:;} is doing with no luck. Does anyone have a good link or explanation?
0 comments
default
newest
oldest
fragmede
11y ago
() makes a function { is the function body : is an ancient 'command' that does nothing ; is says run the : command } closes the function body.
navbaker
OP
11y ago
Got it, thanks!
j
/
k
navigate · click thread line to collapse