index
:
moreutils
master
implementations of the non-POSIX utilities included in GNU coreutils
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rwxr-xr-x
[-rw-r--r--]
readlink
7
1 files changed, 7 insertions, 0 deletions
diff --git a/readlink b/readlink
index e69de29..5bf2be5 100644..100755
--- a/
readlink
+++ b/
readlink
@@ -0,0 +1,7 @@
+readlink() {
+ ls -l "$1" | awk -F' -> ' '{print $2}'
+}
+
+for i in "$@"; do
+ readlink $i
+done