# Fun One Liners

**URL:** <https://discourse.julialang.org/t/fun-one-liners/28352>\
**Category:** General Usage\
**Created:** [September 3, 2019, 11:13pm UTC](https://discourse.julialang.org/t/fun-one-liners/28352 "2019-09-03T23:13:18Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![c42f](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/c42f/32/52842_2.png) [@c42f](https://discourse.julialang.org/u/c42f)\
**Post date:** [September 4, 2019, 12:13am UTC](https://discourse.julialang.org/t/fun-one-liners/28352/3 "2019-09-04T00:13:05Z")

</div>

Cool idea. Here’s a fun one from my REPL session a couple of days ago:

```julia
using CSV, Glob

# Read and concatenate all tables in CSV files matching the given `pattern`
cat_csv(pattern) = vcat(CSV.read.(glob(pattern))...)

```

Broadcast is great for so many things which aren’t numbers.

---

_[View the full topic](https://discourse.julialang.org/t/fun-one-liners/28352)._
