> Another incompatibility was found.
>
> $ pwd
> /tmp/usr/src/sys/bar
> $ ls -al /tmp/sys
> lrwxrwxrwx 1 iwamoto iwamoto 11 11月 27 19:16 /tmp/sys -> usr/src/sys
>
> ==== previous version ====
> $ global -f /tmp/sys/foo/foo.c
> main 1 ../foo/foo.c int main(void){return 0;}
>
> ==== rel2abs version ====
> $ global -f /tmp/sys/foo/foo.c
> '/tmp/sys/foo/foo.c' is out of source tree.
>
> I think that what we need is a function like this.
> f(){
> echo $(realpath $(dirname $1))/$(basename $1)
> }
You are right.
It's exactly what is required.
--
Shigio YAMAGUCHI <[EMAIL PROTECTED]> - Tama Communications Corporation
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
_______________________________________________
Bug-global mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-global