https://github.com/progrhyme/bash-realpath
Bash utility emulates realpath command
https://github.com/progrhyme/bash-realpath
bash
Last synced: 2 months ago
JSON representation
Bash utility emulates realpath command
- Host: GitHub
- URL: https://github.com/progrhyme/bash-realpath
- Owner: progrhyme
- Created: 2020-05-23T17:41:16.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-23T17:41:32.000Z (about 6 years ago)
- Last Synced: 2025-02-15T18:55:09.795Z (over 1 year ago)
- Topics: bash
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bash-realpath
Bash utility behaves like [realpath(1)](http://man7.org/linux/man-pages/man1/realpath.1.html).
# Usage
```sh
. realpath.sh
realpath path/to/something
```
It outputs absolute path of the argument following symlinks recursively.
# Testing
You need [progrhyme/shove](https://github.com/progrhyme/shove) for testing.
Install shove, then run:
```sh
make
```
# License
The MIT License.
Copyright (c) 2020 IKEDA Kiyoshi.