Bug 2450

Summary: COLUMNS нигде не \'задается\'
Product: Sisyphus Reporter: dfo <dfo>
Component: initscriptsAssignee: Dmitry V. Levin <ldv>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P4    
Version: unstable   
Hardware: all   
OS: Linux   

Description dfo 2003-03-31 12:44:27 MSD
Переменная COLUMNS нигде ни во что не устанавливается.
---

---

Comment 1 Dmitry V. Levin 2003-03-31 13:41:59 MSD
This variable is ALT bash specific:

$ COLUMNS= sh -c \'echo COLUMNS=$COLUMNS\' 2&gt;/dev/null
COLUMNS=
$ COLUMNS= sh -c \'echo COLUMNS=$COLUMNS\'            
COLUMNS=80
Comment 2 Dmitry V. Levin 2003-03-31 13:41:59 MSD
This variable is ALT bash specific:

$ COLUMNS= sh -c \'echo COLUMNS=$COLUMNS\' 2&gt;/dev/null
COLUMNS=
$ COLUMNS= sh -c \'echo COLUMNS=$COLUMNS\'            
COLUMNS=80
Comment 3 Dmitry V. Levin 2003-04-19 23:38:41 MSD
Поскольку переменной все-таки может не быть (ввиду версии /bin/sh), некий workaround необходим.
Comment 4 Dmitry V. Levin 2003-04-19 23:38:41 MSD
Поскольку переменной все-таки может не быть (ввиду версии /bin/sh), некий workaround необходим.
Comment 5 Dmitry V. Levin 2003-04-19 23:39:10 MSD
Fixed in 5.49-ipl54mdk
Comment 6 Dmitry V. Levin 2003-04-19 23:39:10 MSD
Fixed in 5.49-ipl54mdk