<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>21851</bug_id>
          
          <creation_ts>2009-10-06 22:51:16 +0400</creation_ts>
          <short_desc>can&apos;t use \t as delimiter in .gear/rules</short_desc>
          <delta_ts>2009-10-15 13:21:46 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>libshell</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>led</reporter>
          <assigned_to name="Alexey Gladkov">legion</assigned_to>
          <cc>erthad</cc>
    
    <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>mike</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>100951</commentid>
    <comment_count>0</comment_count>
    <who name="">led</who>
    <bug_when>2009-10-06 22:51:16 +0400</bug_when>
    <thetext>В gear-1.6.0-alt1 стало невозможно использовать \t (TAB) как разделитель аргументов.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100952</commentid>
    <comment_count>1</comment_count>
    <who name="">led</who>
    <bug_when>2009-10-06 22:52:40 +0400</bug_when>
    <thetext>(В ответ на комментарий №0)
&gt; В gear-1.6.0-alt1 стало невозможно использовать \t (TAB) как разделитель
&gt; аргументов.

...в .gear/rules</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100960</commentid>
    <comment_count>2</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2009-10-07 04:32:05 +0400</bug_when>
    <thetext>(In reply to comment #1)
&gt; (В ответ на комментарий №0)
&gt; &gt; В gear-1.6.0-alt1 стало невозможно использовать \t (TAB) как разделитель
&gt; &gt; аргументов.
&gt; 
&gt; ...в .gear/rules

Так работает quote_shell_args() из /bin/shell-quote в libshell-0.1.0-alt2.

Вероятно, надо приравнять TAB к пробелу:
--- a/libshell/shell-quote
+++ b/libshell/shell-quote
@@ -111,7 +111,7 @@ __quote_shell_args() {
 					fi
 				fi
 				;;
-			[!A-Za-z0-9_\ ])
+			[!A-Za-z0-9_\ \	])
 				# quote non-regular character unless
 				# in any quote mode
 				[ -n &quot;$bq$dq$sq&quot; ] || bq=\\</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101029</commentid>
    <comment_count>3</comment_count>
    <who name="">led</who>
    <bug_when>2009-10-07 22:43:29 +0400</bug_when>
    <thetext>(В ответ на комментарий №2)
&gt; -            [!A-Za-z0-9_\ ])
&gt; +            [!A-Za-z0-9_\ \    ])

Да, так всё работает</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101033</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2009-10-08 01:01:23 +0400</bug_when>
    <thetext>Исправлено в libshell-0.1.1-alt1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101586</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2009-10-15 13:21:46 +0400</bug_when>
    <thetext>*** Bug 21947 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>