Hello, > #!/usr/bin/perl -i -p > s/[ \t\r\n]+$// perl -p -i -e 's/\s+$//' file1 file2 file3 ... Thomas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [SCRIPT] chomp: trim trailing whitespace
- From: Neil Brown <[email protected]>
- Re: [SCRIPT] chomp: trim trailing whitespace
- References:
- [SCRIPT] chomp: trim trailing whitespace
- From: Jeff Garzik <[email protected]>
- Re: [SCRIPT] chomp: trim trailing whitespace
- From: Jan Engelhardt <[email protected]>
- [SCRIPT] chomp: trim trailing whitespace
- Prev by Date: Re: [SCRIPT] chomp: trim trailing whitespace
- Next by Date: Re: [PATCH] kmalloc man page before 2.6.17
- Previous by thread: Re: [SCRIPT] chomp: trim trailing whitespace
- Next by thread: Re: [SCRIPT] chomp: trim trailing whitespace
- Index(es):