News for hackers. Stuff that matters.
Re:Ruby: A great language for shell scripts by pseudalopex on Sunday June 23, 2024 @08:57AM (#40767146)

    result = {os.path.getsize(f): f for f in os.listdir() if os.path.isfile(f)}

    result = ' '.join(word.capitalize() for word in string.split(' '))
    result = ' '.join(map(str.capitalize, string.split(' ')))
    result = string.title()

There are no comments on this comment yet.