help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

whats wrong with my code , [[ $arg == s ]] and case $a in .. not working


From: alex xmb ratchev
Subject: whats wrong with my code , [[ $arg == s ]] and case $a in .. not working
Date: Sat, 4 Mar 2023 23:48:55 +0100

once in a while i get over obviously wtf

i try
  for a
 [[ $a == s ]] &&
arr_asign

and
   for a ; do
  case $a
 s)
arr_assign

i tested with args 's' and 'foo'
which should result in apt-cache search foo

but in both cases , [[ and case , the s never gets catched .. it says
apt-cache option s not understood

its like a reverse wonder for me

Attachment: sa
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]