- Products
- Learn
- Local User Groups
- Partners
- More
AI Security Masters
E1: How AI is Reshaping Our World
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Has anyone noticed hidden output (Processing line X out of Y ^M) when running the clish -f command from expert mode? I noticed it on the R80.30 3.10 kernel when using clish -f somefile.txt.
1. I built a script:
[Expert@gw-name:0]# cat /tmp/script-to-get-asn.sh
set virtual-system 1
show configuration bgp
2. I run the script and get some output:
[Expert@gw-name:0]# /bin/clish -i -f /tmp/script-to-get-asn.sh 2> /dev/null | grep -E "set bgp external remote-as [0-9]+ on"
set bgp external remote-as 12345 on
3. I want to grab the ASN, but things get weird...
[Expert@gw-name:0]# /bin/clish -i -f /tmp/script-to-get-asn.sh 2> /dev/null | grep -E "set bgp external remote-as [0-9]+ on" | awk '{print $5}'
of
4. I save my output to a temp file and cat it... looks normal...
[Expert@gw-name:0]# /bin/clish -i -f /tmp/script-to-get-asn.sh 2> /dev/null | grep -E "set bgp external remote-as [0-9]+ on" > tmpfle
[Expert@gw-name:0]# cat tmpfle
set bgp external remote-as 12345 on
5. I look closer by doing a cat with a -v or vi the file and I see text that did show up earlier along with ^M...
[Expert@gw-name:0]# cat -v tmpfle
Processing line 2 out of 2 ^Mset bgp external remote-as 12345 on
[Expert@gw-name:0]#
What's going on here?
As a follow-up to this issue, a HF was created to fix this. I've asked for the fixed to be included in a future jumbo.
I'm not seeing it in R80.10, which is why I thought it was strange. I did update my command to use sed to replace the junk characters where I'm wiping the ^M and anything before it... sed -e 's/^.*^M//'. Just seems odd.
As a follow-up to this issue, a HF was created to fix this. I've asked for the fixed to be included in a future jumbo.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 20 | |
| 17 | |
| 13 | |
| 8 | |
| 7 | |
| 3 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsThu 08 Jan 2026 @ 05:00 PM (CET)
AI Security Masters Session 1: How AI is Reshaping Our WorldAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY