---
title: "Discussion on \"Short Note: use DuckDB as (pipe) jq replacement\" | Hashnode"
description: "Discussion on \"Short Note: use DuckDB as (pipe) jq replacement\". The usage of the jq can be substituted sometimes by DuckDB with a bit cleaner syntax.\nFor example, to get properties Id and State.Status from a list of active containers in docker one might do this:\n➜ docker inspect f42 | jq '.[] | \"\\(.Id) \\(.State.S..."
url: "https://hashnode.com/posts/short-note-use-duckdb-as-pipe-jq-replacement/66470f4848d8a4a4caf71e2c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Short Note: use DuckDB as (pipe) jq replacement](https://blog.aleksic.dev/short-note-use-duckdb-as-pipe-jq-replacement?utm_source=hashnode&utm_medium=feed)

The usage of the jq can be substituted sometimes by DuckDB with a bit cleaner syntax. For example, to get properties Id and State.Status from a list of active containers in docker one might do this: ➜ docker inspect f42 | jq '.\[\] | "\\(.Id) \\(.State.S...

May 17, 2024 · 1 min read · blog.aleksic.dev  
Read the article

-   [#bash](https://hashnode.com/tag/bash)
-   [#jq](https://hashnode.com/tag/jq)

## Written by

[Milan Aleksić](https://hashnode.com/@milanaleksic)

@milanaleksic · Brussels, Belgium

  
[View profile](https://hashnode.com/@milanaleksic)

Backend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
