{"id":12646,"date":"2021-12-10T02:50:35","date_gmt":"2021-12-10T02:50:35","guid":{"rendered":"https:\/\/lgildv5i97.onrocket.site\/answers\/?post_type=question&#038;p=12646"},"modified":"2021-12-10T02:53:27","modified_gmt":"2021-12-10T02:53:27","slug":"help-with-randomize-name-pick-batch","status":"publish","type":"question","link":"https:\/\/computing.net\/answers\/programming\/help-with-randomize-name-pick-batch\/25172.html","title":{"rendered":"Help With Randomize Name Pick Batch"},"content":{"rendered":"<p>I already have a list of name, I want the batch script will randomly pick a name.<\/p>\n<p>1. john<br \/>\n2. amy<br \/>\n3. sam<br \/>\n&#8230;<\/p>\n<p>output random name: xxxxxx<\/p>\n<p>2nd step, I want to do loop. I want all the name being pick.<\/p>\n<p>output random name 1: amy<br \/>\noutput random name 2: sam<br \/>\noutput random name 3: John<br \/>\n&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"iawp_total_views":13},"question-category":[55],"question_tags":[],"class_list":["post-12646","question","type-question","status-publish","hentry","question-category-programming"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question\/12646","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question"}],"about":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/types\/question"}],"author":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/comments?post=12646"}],"wp:attachment":[{"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/media?parent=12646"}],"wp:term":[{"taxonomy":"question-category","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question-category?post=12646"},{"taxonomy":"question_tags","embeddable":true,"href":"https:\/\/computing.net\/answers\/wp-json\/wp\/v2\/question_tags?post=12646"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}