# unix echo $path1 | tr '/' '\n/ > 1.txt echo $path2 | tr '/' '\n' > 2.txt diff 1.txt 2.txt /a/b/c/different/x/y/z <--> /a/b/c/somethingelse/x/y/z ?
In reply to Comparing Elements of Two Arrays by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |