gpt-3.5-turbo-0125· OpenAI
WildChat-4.8M (AI2)
напиши программу на языке bash которая пишет bash и там анимация в виде нижних…
- User
напиши программу на языке bash которая пишет bash и там анимация в виде нижних подчеркиваний волны
- Assistantbash
#!/bin/bash animation(){ local text=$1 local delay=0.1 local length=${#text} for (( i=1; i<=$length; i++ )) do echo -ne "${text:0:i}\r" sleep $delay done for (( i=$length; i>=1; i-- )) do echo -ne "${text:0:i}\r" sleep $delay done } animation "bash"
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.