Discussion:
[ast-developers] Anyone got /dev/file@ working?
Lionel Cons
2013-08-28 14:32:06 UTC
Permalink
Did anyone got /dev/file@ working in ast-ksh.20130814 or is that
feature broken there?

Lionel
Cedric Blancher
2013-08-30 02:03:57 UTC
Permalink
Post by Lionel Cons
feature broken there?
This is again broken in ast-ksh.20130829:
ksh -c 'redirect {n}</dev/file at sync/etc ; true'
/home/ced/bin/ksh: /dev/file at sync/etc: cannot open [No such file or directory]

Ced
--
Cedric Blancher <cedric.blancher at gmail.com>
Institute Pasteur
Glenn Fowler
2013-08-30 02:29:56 UTC
Permalink
Post by Cedric Blancher
Post by Lionel Cons
feature broken there?
ksh -c 'redirect {n}</dev/file at sync/etc ; true'
/home/ced/bin/ksh: /dev/file at sync/etc: cannot open [No such file or directory]
the feature is there
the spelling is different
the original spelling was in a non-release patch proposal
current spelling is as follows for reasons already posted

/dev/file/sync:etc # relative
/dev/file/sync:/etc # absolute
Cedric Blancher
2013-08-30 02:33:09 UTC
Permalink
Post by Glenn Fowler
Post by Cedric Blancher
Post by Lionel Cons
feature broken there?
ksh -c 'redirect {n}</dev/file at sync/etc ; true'
/home/ced/bin/ksh: /dev/file at sync/etc: cannot open [No such file or directory]
the feature is there
the spelling is different
the original spelling was in a non-release patch proposal
current spelling is as follows for reasons already posted
/dev/file/sync:etc # relative
/dev/file/sync:/etc # absolute
Well, I did like /dev/file at options/ because it was clear where the
options are. It looked familiar and user-friendly. Sounds like I have
to get "used" to the new Windows-like style

:(

Ced
--
Cedric Blancher <cedric.blancher at gmail.com>
Institute Pasteur
Glenn Fowler
2013-08-30 04:22:11 UTC
Permalink
Post by Cedric Blancher
Post by Glenn Fowler
Post by Cedric Blancher
Post by Lionel Cons
feature broken there?
ksh -c 'redirect {n}</dev/file at sync/etc ; true'
/home/ced/bin/ksh: /dev/file at sync/etc: cannot open [No such file or directory]
the feature is there
the spelling is different
the original spelling was in a non-release patch proposal
current spelling is as follows for reasons already posted
/dev/file/sync:etc # relative
/dev/file/sync:/etc # absolute
Well, I did like /dev/file at options/ because it was clear where the
options are. It looked familiar and user-friendly. Sounds like I have
to get "used" to the new Windows-like style
does it work?

also, I don't know what you mean windows like
I get hives or BSOD doing anything windows-like
Lionel Cons
2013-08-30 04:56:06 UTC
Permalink
Post by Cedric Blancher
Post by Glenn Fowler
Post by Cedric Blancher
Post by Lionel Cons
feature broken there?
ksh -c 'redirect {n}</dev/file at sync/etc ; true'
/home/ced/bin/ksh: /dev/file at sync/etc: cannot open [No such file or directory]
the feature is there
the spelling is different
the original spelling was in a non-release patch proposal
current spelling is as follows for reasons already posted
/dev/file/sync:etc # relative
/dev/file/sync:/etc # absolute
Well, I did like /dev/file at options/ because it was clear where the
options are. It looked familiar and user-friendly. Sounds like I have
to get "used" to the new Windows-like style
I think this is still up to debate. I've put up a poll among the
IntCERN developers to get feedback what people like, i.e. pick one of
/dev/file/$options:/$path, /dev/file@$options/$path,
/dev/file#$options/$path

72 (out of 407) people voted so far, 19 for the first option, 44 for
the second, 9 for the 3rd.

Lionel
Glenn Fowler
2013-08-30 14:33:47 UTC
Permalink
Post by Cedric Blancher
Post by Glenn Fowler
Post by Cedric Blancher
Post by Lionel Cons
feature broken there?
ksh -c 'redirect {n}</dev/file at sync/etc ; true'
/home/ced/bin/ksh: /dev/file at sync/etc: cannot open [No such file or directory]
the feature is there
the spelling is different
the original spelling was in a non-release patch proposal
current spelling is as follows for reasons already posted
/dev/file/sync:etc # relative
/dev/file/sync:/etc # absolute
Well, I did like /dev/file at options/ because it was clear where the
options are. It looked familiar and user-friendly. Sounds like I have
to get "used" to the new Windows-like style
how about this to meet in the middle

/dev/file/flag[,flag...]@relative-path
/dev/file/flag[,flag...]@/absolute-path

recall that the original form only worked on absolute paths
and @ in device names seems to only appear in /devices/somename/*@*
I also forgot about ':' clashing with the unix ':' path list separator char
because I didn't think about /dev/... in $PATH, but why not?

Continue reading on narkive:
Loading...