weird bash behaviour (Full Version)

All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum



Message


DeathWolf -> weird bash behaviour (Mar. 10, '06, 12:46:29 PM)

I've been experiencing weird behaviour with bash:
1.copy/paste cuts very early, i dont know if it's bash related, or term related, but after a certain quantity of characters it cuts. It did that both in rxvt, puttycyg, and the default windows-based shell
2.running a script has odd behaviours like i had a script with this in it:
pkg_add autoconf-current-bin.tgz
pkg_add automake-current-bin.tgz

Running it
quote:

gzip: stdin: unexpected end of file
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
.tgz' has unknown filename part!tems.com/pkgs/3.5/autoconf-current-bin.tgz
.tgz' by URLe to fetch `ftp://ftp.interopsystems.com/pkgs/3.5/autoconf-current-bin.tgz

gzip: stdin: unexpected end of file
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
.tgz' has unknown filename part!tems.com/pkgs/3.5/automake-current-bin.tgz
.tgz' by URLe to fetch `ftp://ftp.interopsystems.com/pkgs/3.5/automake-current-bin.tgz


But if i do run the commands one by one separatly it does work perfectly




That's it for now, if anyone can confirm the problems/or any solution, i'd like to hear about it.

Thanks,

Paul-Kenji Cahier




DeathWolf -> RE: weird bash behaviour (Mar. 10, '06, 9:17:52 PM)

and in the same family:
find . -name '*exta' => works
find . -name '*extb' => works
find . -name '*exta|*extb' => doesnt work
find . -name '*exta\|*extb' => doesnt work
If someone has an idea....




Rodney -> RE: weird bash behaviour (Mar. 10, '06, 11:05:21 PM)

Check that on your machine DEP is off. Refer to the FAQ entry 2.07 (if I recall the number correctly).




DeathWolf -> RE: weird bash behaviour (Mar. 11, '06, 1:20:50 AM)

these arent core dumps
DEP is turned off(i double and triple checked, and it has been off since day0 of SP2 install)
All latest aptches installed




markfunk -> RE: weird bash behaviour (Mar. 11, '06, 9:38:06 PM)

quote:

find . -name '*exta|*extb' => doesnt work
find . -name '*exta\|*extb' => doesnt work
This is correct.
You can only use basic regex - extended regex isn't supported.




DeathWolf -> RE: weird bash behaviour (Mar. 12, '06, 1:15:38 AM)

any way of extending that?
it's really restricting




markfunk -> RE: weird bash behaviour (Mar. 12, '06, 10:55:40 PM)

You can use:
find . -name '*exta' -o -name '*extb'

The UNIX std spec says that the pattern matching is based on fnmatch(3) function
and this does not support extended reg. expressions.




Page: [1]



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.016