$ rm -f output.txt
$ python lpupsourceparser.py -q -l input.txt | tee -a output.txt

[...] (Ανάλογα με το μέγεθος της λίστας, μπορεί να πάρει λίγη ώρα)

input.txt: Λίστα πακέτων jaunty (debian source packages) από το αρχείο .iso
output.txt: Το αποτέλεσμα (+pots links) μαζί με τις "ERROR:" γραμμές.

Μπορείτε να εκμεταλλευτείτε τα προγράμματα gnu/linux για να πάρετε τη
λίστα που θέλετε, όπως το grep.

- Χωρίς ERROR γραμμές:
grep -v '^ERROR' output.txt > output-noerror.txt

- Xωρίς ERROR και μόνο γραμμές που περιέχουν "ubuntu/jaunty":
grep -v '^ERROR' output.txt | grep 'ubuntu/jaunty' >
output-noerror-onlyjaunty.txt

- Xωρίς ERROR και χωρίς γραμμές που περιέχουν "ubuntu/jaunty":
grep -v '^ERROR' output.txt | grep -v 'ubuntu/jaunty' >
output-noerror-notjaunty.txt

Attachment: output_examples.tar.gz
Description: GNU Zip compressed data

Attachment: input_output.tar.gz
Description: GNU Zip compressed data

-- 
Ubuntu-gr mailing list
[email protected]

If you do not want to receive any more messages from the ubuntu-gr mailing 
list, please follow this link and choose unsubscribe:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-gr

Απαντηση