debian-3.21: Modules for working with the Debian package systemSource codeContentsIndex
parseSourceLine :: String -> DebSource
parseSourceLine' :: String -> Maybe DebSource
parseSourcesList :: String -> [DebSource]
quoteWords :: String -> [String]
parseSourceLine :: String -> DebSourceSource
parseSourceLine -- parses a source line the argument must be a non-empty, valid source line with comments stripped see: sourceLines
parseSourceLine' :: String -> Maybe DebSourceSource
parseSourcesList :: String -> [DebSource]Source
quoteWords :: String -> [String]Source

quoteWords - similar to words, but with special handling of double-quotes and brackets.

The handling double quotes and [] is supposed to match: apt-

The behaviour can be defined as:

Break the string into space seperated words ignoring spaces that appear between "" or []. Strip trailing and leading white space around words. Strip out double quotes, but leave the square brackets intact.

Produced by Haddock version 2.4.2