Skip to content

^M makes troubles #5

Description

@ivoruetsche

Hi

Nice batch file, thanks a lot for it.

I have to redirect the dmidecode output from a remote host (via a proxy host), but it won't work because "^M" at the end. So, I struggling a bit to find why, but it works now with:

ssh root@destination dmidecode | sed -u 's/\r/\n/' | ./dmij.sh -s

just in case someone got also something like

{                                                                   
  "*":                                                              
ls: cannot access '/tmp/tmp.WOLBclQvTx/*': No such file or directory
  [                                                                 
  {                                                                 
cat: '/tmp/tmp.WOLBclQvTx/*/*': No such file or directory           
                                                                    
  }                                                                 
                                                                    
  ]                                                                 
}                                                                   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions