News for hackers. Stuff that matters.
Re:Shellcheck: a static analysis tool for shell scripts by PantaloonFlames on Thursday February 05, 2015 @10:32AM (#9003707)
> it only deals with bytes and cannot process any complex data structure.

Just FYI. Microsoft tried to address that problem in Windows a long time ago when it introduced Powershell.

Re:Shellcheck: a static analysis tool for shell scripts by whitten on Thursday February 05, 2015 @03:38PM (#9005872)
Does Powershell provide a 'datatyping facility' for the contents of Files? or is it just values returned from Powershell defined objects or methods?
Re:Shellcheck: a static analysis tool for shell scripts by ygra on Friday February 06, 2015 @03:18AM (#9008113)
Contents of files are, depending on how you read them either a byte[], a string or a list of strings (lines). You can run them through parsers for JSON, XML, CSV or whatever else is handy to get actual objects. In the CSV case there are even cmdlets that work directly with files (Import-Csv, Export-Csv), for XML I usually use [xml](gc file), more general there are the ConvertFrom-* and ConvertTo-* cmdlets, e.g. for JSON and CSV.
Re:Shellcheck: a static analysis tool for shell scripts by xiaq on Thursday February 05, 2015 @11:45AM (#9004184)
See my reply to omaranto.