Software Troubles and Troubleshooting
Friday, October 22, 2010
tr shell command example
cat file(s) | tr A-Z a-z | tr -c a-z\' ' \n'
The second pipeline stage converts uppercase to
lowercase, the third replaces nonletters by newlines.
The third stage treats apostrophes as letters.
source
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Blog Archive
►
2024
(2)
►
March
(1)
►
February
(1)
►
2022
(1)
►
September
(1)
►
2021
(3)
►
October
(1)
►
March
(1)
►
January
(1)
►
2020
(10)
►
September
(2)
►
August
(2)
►
July
(1)
►
April
(2)
►
March
(3)
►
2019
(32)
►
October
(5)
►
September
(3)
►
August
(1)
►
June
(2)
►
May
(3)
►
April
(5)
►
March
(6)
►
February
(2)
►
January
(5)
►
2018
(33)
►
December
(3)
►
November
(8)
►
October
(2)
►
September
(5)
►
August
(4)
►
July
(1)
►
June
(2)
►
April
(3)
►
March
(1)
►
January
(4)
►
2017
(64)
►
December
(3)
►
November
(5)
►
September
(2)
►
August
(1)
►
July
(1)
►
June
(7)
►
May
(6)
►
April
(3)
►
March
(5)
►
February
(14)
►
January
(17)
►
2016
(67)
►
December
(10)
►
October
(5)
►
September
(6)
►
August
(2)
►
July
(1)
►
June
(6)
►
May
(2)
►
April
(7)
►
March
(6)
►
February
(7)
►
January
(15)
►
2015
(38)
►
December
(21)
►
November
(2)
►
October
(7)
►
May
(1)
►
April
(6)
►
March
(1)
►
2014
(19)
►
September
(1)
►
June
(3)
►
May
(3)
►
April
(3)
►
March
(8)
►
January
(1)
►
2013
(48)
►
November
(1)
►
October
(1)
►
August
(2)
►
July
(1)
►
June
(2)
►
May
(5)
►
April
(3)
►
March
(13)
►
February
(3)
►
January
(17)
►
2012
(59)
►
December
(8)
►
November
(5)
►
October
(1)
►
September
(2)
►
August
(2)
►
July
(12)
►
June
(1)
►
May
(8)
►
April
(11)
►
March
(5)
►
February
(2)
►
January
(2)
►
2011
(77)
►
December
(3)
►
November
(3)
►
October
(12)
►
September
(3)
►
August
(4)
►
July
(6)
►
June
(6)
►
May
(19)
►
April
(4)
►
March
(2)
►
January
(15)
▼
2010
(147)
►
December
(27)
►
November
(16)
▼
October
(27)
Taglist in shell
Shell word frequency filter
tr shell command example
shell script for converting tab separated values t...
a fantastic resource for unix command line examples
cut and awk for same job : extract fields and join...
shell pattern matching
shell case switch
shell command line looping (tested on cygwin)
uniq
The Pragmatic Programmer
Demeter's law
Actionscript singleton class template IntelliJ Idea
sorting lines with vim
Shell sample commands
Shell sample commands
Finding all files newer than a given file
Problems in running shell scripts on cygwin
extracting social security number from an xml file...
Linting php files from command line in Cygwin
Executing vim commands from command line
bookmarklet for changing a page's max size
Flex 4 difference between property and class
Scrolling content in Flex 4
Flex 4 basic layouts
AS-3/Flex Dictionary weak keys
php.ini on production
►
September
(5)
►
August
(4)
►
July
(2)
►
June
(41)
►
May
(11)
►
April
(4)
►
February
(3)
►
January
(7)
►
2009
(46)
►
December
(16)
►
November
(7)
►
July
(1)
►
June
(2)
►
April
(4)
►
March
(3)
►
January
(13)
►
2008
(73)
►
December
(13)
►
November
(14)
►
October
(8)
►
September
(1)
►
July
(7)
►
June
(2)
►
May
(2)
►
April
(8)
►
March
(14)
►
January
(4)
►
2007
(9)
►
December
(3)
►
November
(3)
►
September
(1)
►
February
(2)
No comments:
Post a Comment