On 12/9/11 10:12 AM, Jean-Jacques Brucker wrote:
> Playing with flock to securely access to a file shared by multiple
> process. I noticed there are no documented way to do an lseek on an
> opened fd with bash :
[...]
> I have solve my problem by making this small binary (i just needed a re
Hello,
we've translated to Russian your great documentation page
http://tiswww.case.edu/php/chet/bash/bashtop.html
Please place a link to translated article from your site:
http://tiswww.case.edu/php/chet/bash/bashtop.html
Text of link:
http://www.portablecomponentsforall.com/edu/gnu-bourne-again-s
On Fri, Dec 09, 2011 at 04:32:56PM +, Stephane CHAZELAS wrote:
> First time I hear about a "help-bash" mailing list. Is that new?
Yes, it's new. Announced by Chet on Nov 21:
http://www.mail-archive.com/bug-bash@gnu.org/msg10154.html
2011-12-9, 10:27(-05), Greg Wooledge:
[...]
> This probably belongs on help-bash rather than bug-bash, although it's a
> grey area. I'm Cc-ing both.
[...]
First time I hear about a "help-bash" mailing list. Is that new?
I saw no annoucement in bash bug (I could have missed it
though), nor does it
On Fri, Dec 09, 2011 at 04:12:15PM +0100, Jean-Jacques Brucker wrote:
> I have solve my problem by making this small binary (i just needed a rewind) :
>
> int main(int argc,char * argv[]) { return lseek(atoi(argv[1]),0L,0); }
>
> But i ll be glad to use a standard and finished tool.
That looks p
Playing with flock to securely access to a file shared by multiple
process. I noticed there are no documented way to do an lseek on an
opened fd with bash :
#!/bin/bash
exec 18<>/tmp/resource
flock 18
# (...) read and analyze the resource file
# ?? there is no documented way to seek or rewind in
> On Fri, Dec 9, 2011 at 11:24, Chet Ramey wrote:
> > > Bash-4.2.20 does not have `direxpand'. Did I misunderstand you?
> >
> > Yes.
> >
>
> I need to learn English much harder. :)
It can be an especially confusing language. :-)
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
On Fri, Dec 9, 2011 at 11:24, Chet Ramey wrote:
> On 12/8/11 9:14 PM, Clark J. Wang wrote:
>
> > http://lists.gnu.org/archive/html/bug-bash/2011-09/msg7.html
> > contains a basic summary and includes a patch that adds a `direxpand'
> > shell option to restore the 4.1 behavior.
> >
On Fri, Dec 9, 2011 at 20:12, Stephane CHAZELAS
wrote:
> 2011-12-9, 16:16(+08), Clark J. Wang:
> > See following:
> >
> > # shopt extglob
> > extglob on
> > # echo $BASH_VERSION
> > 4.2.20(1)-release
> > # ls -d /root
> > /root
> > # pwd
> > /
> > # echo @(root)
> > root
> > # echo @(/root
2011-12-9, 16:16(+08), Clark J. Wang:
> See following:
>
> # shopt extglob
> extglob on
> # echo $BASH_VERSION
> 4.2.20(1)-release
> # ls -d /root
> /root
> # pwd
> /
> # echo @(root)
> root
> # echo @(/root)
> @(/root) <-- ???
> # echo @(/root*)
> @(/root*) <-- ???
> #
>
> I'm confused w
On Fri, Dec 9, 2011 at 16:16, Clark J. Wang wrote:
> See following:
>
> # shopt extglob
> extglob on
> # echo $BASH_VERSION
> 4.2.20(1)-release
> # ls -d /root
> /root
> # pwd
> /
> # echo @(root)
> root
> # echo @(/root)
> @(/root) <-- ???
> # echo @(/root*)
> @(/root*) <-- ???
>
But
See following:
# shopt extglob
extglob on
# echo $BASH_VERSION
4.2.20(1)-release
# ls -d /root
/root
# pwd
/
# echo @(root)
root
# echo @(/root)
@(/root) <-- ???
# echo @(/root*)
@(/root*) <-- ???
#
I'm confused why @(/root) and @(/root*) do not work here.
--
-Clark
12 matches
Mail list logo