profile
viewpoint

Quasic/termux-home-bin 6

termux-url-opener and termux-file-editor menus using dialog

Quasic/DragonBasher 3

Dragon Basher - browser based MMORPG game engine with a JavaScript client and a Perl server

Quasic/Lets 2

Collaborative environment for Windows shares

Quasic/scripts 2

Stuff I find useful in various projects

Quasic/11-gfx 1

Graphics pack collection for DHTML games like Dragon Basher

Quasic/cpuinfo 1

Hopefully an improvement to os.cpus()

Quasic/dom 1

JavaScript I use with the window object

Quasic/jsBinary 1

ECMAScript support for various binary formats

Quasic/jsformat 1

ECMAScript support for various stream formats

Quasic/libuv 1

Cross-platform asynchronous I/O

issue closedtermux/termux-packages

Grep stops when ignoring case and showing files

<!-- IMPORTANT: we are not accepting issues about Termux installations running on Android 5.x-6.x. -->

Problem description <!-- A clear and concise description of what the problem is. You may post screenshots in addition to description. --> I don't remember the last time I used this, may have been a few months ago. Now it breaks as follows:

[1]+  Stopped                 grep -Fi test *
[1]+  Aborted                 grep -Fi test *

Ltrace:
...
 mbsinit(0xbebec4c4)                    = 1                      
 __errno(1, 0, 0xbebec4c4, 0xaa28ebdc)  = 0xaa39658c
 abort( <no return ...>                                          
 --- SIGABRT (Aborted) ---                                       
 --- SIGABRT (Aborted) ---                                       
 +++ killed by SIGABRT +++

Steps to reproduce <!-- Steps to reproduce the behavior. Please post all necessary commands that are needed to reproduce the issue. --> grep -Fi word files

Expected behavior <!-- A clear and concise description of what you expected to happen. --> Should show lines of files containing word

Additional information <!-- Post output of command 'termux-info' between '```' (code formatting). -->

Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://termux.org/packages/ stable main
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
Updatable packages:
All packages up to date
Android version:
7.1.2
Kernel build information:
Linux localhost 3.18.35 #1 SMP PREEMPT Thu Oct 11 15:07:31 CST 2018 armv7l Android
Device manufacturer:
LGE
Device model:
LG-SP200

closed time in 11 days

Quasic

issue commenttermux/termux-packages

Grep stops when ignoring case and showing files

As a workaround, it appears I can remove -F, because it is the default for multiple files.

Quasic

comment created time in 11 days

issue commenttermux/termux-packages

Grep stops when ignoring case and showing files

Probably device-specific, then... here's a file set, just in case:

Welcome to Termux!

Wiki:            https://wiki.termux.com
Community forum: https://termux.com/community
Gitter chat:     https://gitter.im/termux/termux
IRC channel:     #termux on freenode

Working with packages:

 * Search packages:   pkg search <query>
 * Install a package: pkg install <package>
 * Upgrade packages:  pkg upgrade

Subscribing to additional repositories:

 * Root:     pkg install root-repo
 * Unstable: pkg install unstable-repo
 * X11:      pkg install x11-repo

Report issues at https://termux.com/issues


11:49:12TD/25:~/test$ la
total 16
drwx------  2 u0_a174 u0_a174 4096 May 19 11:49 .
drwx------ 20 u0_a174 u0_a174 4096 May 19 11:49 ..
-rw-------  1 u0_a174 u0_a174   24 May 19 11:46 test
-rw-------  1 u0_a174 u0_a174   10 May 19 11:48 test2

11:49:14TD/25:~/test$ cat *
test line 1
test line 2
test2
...

11:49:21TD/25:~/test$ grep -i test *
test:test line 1
test:test line 2
test2:test2

11:49:35TD/25:~/test$ grep -F test *
test:test line 1
test:test line 2
test2:test2

11:49:52TD/25:~/test$ grep -Fi test *

[1]+  Stopped                 grep -Fi test *
[1]+  Aborted                 grep -Fi test *

147|11:50:03TD/25:~/test$ grep -F -i test *

[1]+  Stopped                 grep -F -i test *
[1]+  Aborted                 grep -F -i test *

147|11:50:09TD/25:~/test$
Quasic

comment created time in 11 days

issue openedtermux/termux-packages

Grep stops when ignoring case and showing files

<!-- IMPORTANT: we are not accepting issues about Termux installations running on Android 5.x-6.x. -->

Problem description <!-- A clear and concise description of what the problem is. You may post screenshots in addition to description. --> I don't remember the last time I used this, may have been a few months ago. Now it breaks as follows:

[1]+  Stopped                 grep -Fi test *
[1]+  Aborted                 grep -Fi test *

Ltrace:
...
 mbsinit(0xbebec4c4)                    = 1                      
 __errno(1, 0, 0xbebec4c4, 0xaa28ebdc)  = 0xaa39658c
 abort( <no return ...>                                          
 --- SIGABRT (Aborted) ---                                       
 --- SIGABRT (Aborted) ---                                       
 +++ killed by SIGABRT +++

Steps to reproduce <!-- Steps to reproduce the behavior. Please post all necessary commands that are needed to reproduce the issue. --> grep -Fi word files

Expected behavior <!-- A clear and concise description of what you expected to happen. --> Should show lines of files containing word

Additional information <!-- Post output of command 'termux-info' between '```' (code formatting). -->

Packages CPU architecture:
arm
Subscribed repositories:
# sources.list
deb https://termux.org/packages/ stable main
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
Updatable packages:
All packages up to date
Android version:
7.1.2
Kernel build information:
Linux localhost 3.18.35 #1 SMP PREEMPT Thu Oct 11 15:07:31 CST 2018 armv7l Android
Device manufacturer:
LGE
Device model:
LG-SP200

created time in 12 days

more