Maybe you were looking for...

Awk: for-loop with array of numbers

How to use an array of numbers in a for loop with awk ? I tried: awk '{ for (i in [10, 12, 18]) print i }' myfile.txt But I'm getting a syntax error.

How to run SQL Server Agent Powershell script with output and exit code

I'm trying to run a PowerShell script as a SQL Server 2016 Agent job. As my Powershell script runs, I'm generating several lines of output using "Write-Output"

Sort WordCount Output Flink

I am trying to learn Flink and I am doing the basic WordCount tutorial. I was wondering how I could sort the output of a datastream so that it outputs the count

How to omit map from JSON marshalling only when it's empty? [duplicate]

I need to return an empty json {} when the map is not nil, but it's empty. When the map is nil I need it to be omitted. How could I go about d

How to make prettier the default formatter in vs code?

I've installed prettier extension in vs code, and when I hit to format the file, vs code asked me: "Do you want to format with the default formatter or with pre

Spark dataframe filter by dates range

I have a simple spark dataframe where one of the columns is time date, I want a function that, given the dataframe name, column datetime name, start date and en