<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Shell on …soul, as in software?</title><link>https://blog.pancho.name/tags/shell/</link><description>Recent content in Shell on …soul, as in software?</description><generator>Hugo</generator><language>en-us</language><copyright>© 2007-2024 pancho horrillo</copyright><lastBuildDate>Fri, 18 Mar 2022 10:58:00 +0100</lastBuildDate><atom:link href="https://blog.pancho.name/tags/shell/index.xml" rel="self" type="application/rss+xml"/><item><title>TIL: command -v is the POSIX way to do which</title><link>https://blog.pancho.name/posts/command-v-posix-way-to-do-which/</link><pubDate>Fri, 18 Mar 2022 10:58:00 +0100</pubDate><guid>https://blog.pancho.name/posts/command-v-posix-way-to-do-which/</guid><description>While perusing the password-store git log, I came up with this commit, where I learned that POSIX defines the shell internal command command -v, which behaves like the external command which (that locates the absolute path to an executable, by tracing PATH).
The existence of the internal command (supported by bash, dash and fish, at least) is beneficial for writing more efficient shell scripts.</description></item></channel></rss>