Skip to content

fsos: add 'cmd :all' block to strip carriage returns and command echo#3849

Open
tlbeaty wants to merge 2 commits into
ytti:masterfrom
tlbeaty:fix-fsos-cmd-all
Open

fsos: add 'cmd :all' block to strip carriage returns and command echo#3849
tlbeaty wants to merge 2 commits into
ytti:masterfrom
tlbeaty:fix-fsos-cmd-all

Conversation

@tlbeaty

@tlbeaty tlbeaty commented Jun 13, 2026

Copy link
Copy Markdown

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

Add cmd :all block to strip carriage returns and command echo/prompts
from device output. Without it, \r characters were appearing in saved
configs and command echo/prompts were leaking into the output, causing
noisy diffs on every backup.

Tested against FS.com S5860-48SC and S5860-20SQ switches.

tlbeaty added 2 commits June 13, 2026 00:00
…out 'cmd :all', carriage returns were not stripped from output and command echo/prompts were leaking into saved configs. Adding the standard cmd :all block resolves both issues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant