search order for the /porteus folder

Technical issues/questions of an intermediate or advanced nature.
User avatar
Ed_P
Contributor
Contributor
Posts: 8578
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

search order for the /porteus folder

Post#16 by Ed_P » 22 Jul 2024, 15:26

ncmprhnsbl wrote:
21 Jul 2024, 23:49

Code: Select all

$ echo -e "Porteus\nPorteusUSB" > test 

$ cat test               
Porteus
PorteusUSB

$ grep Porteus test                                         
Porteus
PorteusUSB

$ grep PorteusUSB test
PorteusUSB
so using grep -w might be the way
B) :thumbsup: :worship:

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 4098
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

search order for the /porteus folder

Post#17 by ncmprhnsbl » 08 Aug 2024, 03:24

rych wrote:
22 Jul 2024, 12:38
Would you fix it maybe in the next version of initrd, please?
here's an initrd with the fix for this and the changes=EXIT: stuff removed from cleanup : initrd.xz
sha256sum: 1d6f78d4baaaef6b88ff41939b7b589f9470348238029f4c6d5786adeaaf29db
please test :)
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

Post Reply