Skip to content

Commit c2a4172

Browse files
committed
wrap all objects in a big fat array
1 parent 6315313 commit c2a4172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dash-to-dash.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
curl -s http://sanfrancisco.kapeli.com/feeds/zzz/user_contributed/build/index.json 2>/dev/null |
2-
jq '.docsets | to_entries[] |{name: .value.name , archive: ["http://newyork.kapeli.com/feeds/zzz/user_contributed/build/" , .key, "/", .value.archive] | join("")}'
2+
jq '[.docsets | to_entries[] |{name: .value.name , archive: ["http://newyork.kapeli.com/feeds/zzz/user_contributed/build/" , .key, "/", .value.archive] | join("")}]'

0 commit comments

Comments
 (0)