Search Results

Search: Posts Made By: Zorbeg
8,616
Posted By RudiC
The ^ designates the very begin of the string,...
The ^ designates the very begin of the string, which in your sample would be 5 . The $ marks the very end, 5 again in your sample.
Try

[[ $LIST =~ [[:space:]]$VALUE[[:space:]] ]] && echo...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy