in reply to Re^2: Perl custom sort for Portuguese Lanaguage
in thread Perl custom sort for Portuguese Lanaguage
how can I make it ignore all lines starting with a hash - e.g. '/^#/' - is that possible with this solution?
This depends on what you mean by "ignore" - I have a suspicion that perhaps your input file is in sections separated by comments, and you want the sections to be sorted individually? Could you show some short but representative sample input and the expected output for that input?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl custom sort for Portuguese Lanaguage
by Galdor (Sexton) on Jul 08, 2020 at 06:38 UTC | |
by haukex (Bishop) on Jul 08, 2020 at 18:03 UTC | |
by hippo (Bishop) on Jul 08, 2020 at 20:04 UTC | |
by haukex (Bishop) on Jul 08, 2020 at 21:06 UTC | |
by choroba (Archbishop) on Jul 08, 2020 at 21:27 UTC | |
| |
by soonix (Canon) on Jul 09, 2020 at 06:31 UTC | |
| |
by Tux (Canon) on Jul 09, 2020 at 13:54 UTC | |
by haukex (Bishop) on Jul 09, 2020 at 14:08 UTC | |
|
In Section
Seekers of Perl Wisdom