File: execdir_pwd.sh

package info (click to toggle)
bfs 4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,484 kB
  • sloc: ansic: 21,302; sh: 3,227; makefile: 221
file content (3 lines) | stat: -rw-r--r-- 116 bytes parent folder | download | duplicates (2)
1
2
3
TMP_REAL=$(cd "$TMP" && pwd)
OFFSET=$((${#TMP_REAL} + 2))
bfs_diff basic -execdir bash -c "pwd | cut -b$OFFSET-" \;