termux / termux-packages

A package build system for Termux.
https://termux.dev
Other
13.16k stars 3.02k forks source link

[Bug]: Termux grep match miss #19897

Closed awkiw closed 5 months ago

awkiw commented 5 months ago

Problem description

some grep parameters result in pattern match miss 20240422_221033TERMUXGREPMATCHMISS 20240422_224017ANOTHERTERMINALGREPRESENTMATCH

What steps will reproduce the bug?

grep -A3 -B3 ^termux.$ KIW.TXT

What is the expected behavior?

Missing grep output pattern match line

System information

termux-info:

Termux Variables: TERMUX_APK_RELEASE=F_DROID TERMUX_APP_PACKAGE_MANAGER=apt TERMUX_APP_PID=7084 TERMUX_IS_DEBUGGABLE_BUILD=0 TERMUX_MAIN_PACKAGE_FORMAT=debian TERMUX_VERSION=0.118.0 TERMUX__USER_ID=0 Packages CPU architecture: aarch64 Subscribed repositories:

sources.list

deb https://packages.termux.dev/apt/termux-main stable main

x11-repo (sources.list.d/x11.list)

deb https://packages.termux.dev/apt/termux-x11 x11 main

tur-repo (sources.list.d/tur.list)

deb https://tur.kcubeterm.com tur-packages tur tur-on-device tur-continuous Updatable packages: All packages up to date termux-tools version: 1.42.0 Android version: 14 Kernel build information: Linux localhost 4.19.191-28086179-abT225XXU6DWL9 #1 SMP PREEMPT Wed Dec 20 16:55:14 +07 2023 aarch64 Android Device manufacturer: samsung Device model: SM-T225 LD Variables: LD_LIBRARY_PATH= LD_PRELOAD=/data/data/com.termux/files/usr/lib/libtermux-exec.so Installed termux plugins: com.termux.styling versionCode:31

agnostic-apollo commented 5 months ago

Have you tried changing termux terminal theme or not passing --colour?

awkiw commented 5 months ago

Sorry, forgot asterisk in description for by memory for this web interface requires paste termux info and does not allow text file upload - when I back with copied line I'd lose everything posted before - it's very irritating! 20240424_050028FORGOTASTERISKVDESC

awkiw commented 5 months ago

Sorry, forgot asterisk in description for by memory for this web interface requires paste termux info and does not allow text file upload - when I back with copied line I'd lose everything posted before - it's very irritating! 20240424_050028FORGOTASTERISKVDESC

awkiw commented 5 months ago

By now it seems to me I guessed myself to change style before issue to check and colour used to use! 20240424_052222ITSEEMS2MEIGUESSEDMYSELF2CHKBEFORECOMPLAIN

truboxl commented 5 months ago

Closing as not a bug