Problem statement: how to write relevance that will read the attached file and output the data so that the password name is start of each new line similar to below and remove the white spaces between element such as
Last password change%09%09%09%09%09: Mar 23, 2012
rename file to listpasswd.pdf to .csv
Relevance would read the file and
output similar to below if possible without white spaces
Q: concatenation “;” of elements of (set of file path/listpasswd.csv")
A: Root,Last password change: Apr 01,
2014,Password expires: never,Password inactive: never,Account expires:
never,Minimum number of days between password change: 0,Maximum number of days
between password change: 99999,Number of days of warning before password
expires: 7; bin,Last password change: Mar 23, 2012,Password expires:
never,Password inactive: never,Account expires: never,Minimum number of days
between password change: 0,Maximum number of days between password change:
99999,Number of days of warning before password expires: 7;daemon,Last password
change: Mar 23, 2012,Password expires: never,Password inactive: never,Account
expires: never,Minimum number of days between password change: 0,Maximum number
of days between password change: 99999,Number of days of warning before
password expires: 7
The output below start and end of the data element per password name from the attached file. –
root , bin , daemon, etc are the password account name.
Such as below
q: lines of file “c:\listpasswd.csv”
A: root
A: Last password change%09%09%09%09%09: Apr 01, 2014
A: Password expires%09%09%09%09%09: never
A: Password inactive%09%09%09%09%09: never
A: Account expires%09%09%09%09%09%09: never
A: Minimum number of days between password change%09%09: 0
A: Maximum number of days between password change%09%09: 99999
A: Number of days of warning before password expires%09: 7
A: bin
A: Last password change%09%09%09%09%09: Mar 23, 2012
A: Password expires%09%09%09%09%09: never
A: Password inactive%09%09%09%09%09: never
A: Account expires%09%09%09%09%09%09: never
A: Minimum number of days between password change%09%09: 0
A: Maximum number of days between password change%09%09:
99999
A: Number of days of warning before password expires%09: 7
A: daemon
A: Last password change%09%09%09%09%09: Mar 23, 2012
A: Password expires%09%09%09%09%09: never
A: Password inactive%09%09%09%09%09: never
A: Account expires%09%09%09%09%09%09: never
A: Minimum number of days between password change%09%09: 0listpasswd.pdf (9.5 KB)
A: Maximum number of days between password change%09%09:
99999
A: Number of days of warning before password expires%09: 7