Comment by star on What does
In the first case, cat opens the file, and in the second case, the shell opens the file, passing it as cat's standard input. quote from unix.stackexchange.com/questions/258931/…
View ArticleAnswer by star for How can I use (sed|awk) to mask an e-mail address with...
using sed: sed 's/.$//' foo.txt | sed 's#\<\(.\).*\(.@.\).*\(\..*\)#\1***\2***\3#' first sed get rid of the ending >, and 2nd sed will mask the mail address. output J****e@g****.com...
View Article
More Pages to Explore .....