Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 5
    This should be the accepted answer, Thank you so much @SebMa It is a brilliant solution!! Commented Feb 6, 2022 at 18:40
  • @ADProgress Well, it was about 2 years too late to be the accepted answer, but a wonderful contribution nonetheless. Commented Jun 7, 2023 at 10:54
  • 1
    Here an Equiv function for macos where -t option is not supported in type command. unix.stackexchange.com/a/756361/318478 based on @SebMa function Commented Sep 12, 2023 at 22:08