From 6b085cf6ecd379ca446e850b9967f21433bd7102 Mon Sep 17 00:00:00 2001 From: craige@a46118dff5bc0fad85259759970d8b4b9fc377d7 Date: Fri, 3 Feb 2017 00:04:05 +0000 Subject: Added a comment --- ...ment_4_5bf7b1f69b48b4d9c516d424e4438208._comment | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 doc/forum/Inherited_Variables.../comment_4_5bf7b1f69b48b4d9c516d424e4438208._comment diff --git a/doc/forum/Inherited_Variables.../comment_4_5bf7b1f69b48b4d9c516d424e4438208._comment b/doc/forum/Inherited_Variables.../comment_4_5bf7b1f69b48b4d9c516d424e4438208._comment new file mode 100644 index 00000000..3b691b2a --- /dev/null +++ b/doc/forum/Inherited_Variables.../comment_4_5bf7b1f69b48b4d9c516d424e4438208._comment @@ -0,0 +1,21 @@ +[[!comment format=mdwn + username="craige@a46118dff5bc0fad85259759970d8b4b9fc377d7" + nickname="craige" + avatar="http://cdn.libravatar.org/avatar/6d2207226de755da46aa2fdff9af70b2" + subject="comment 4" + date="2017-02-03T00:04:05Z" + content=""" +Ugh, sorry to ask again but I'm specifically stuck trying to extract the Debian suite only from this. Is this stored as a specific value I can draw on? I've been wading through the source and added in a swag of trial and error with no luck. + +I can see the suite listed in the output + + Just (System (Debian Linux (Stable \"jessie\")) + +but I was wondering if there was a method to pull out just the suite code name (ie: \"jessie\") that did not involve a regex looking for it amongst that output. + +The goal is to query Info so that a suite name can be added to a sources list. + +If I have to regex, that's OK, I just didn't want to go down that path if there was a smarted way. + +Thanks Joey :-) +"""]] -- cgit v1.2.3