Removing asterisks from a file

Ranmadhu Wijayatilaka akamad+linux at gmail.com
Thu Oct 16 05:13:24 UTC 2008


James Gray wrote:
> sed "s#*##g" file.txt > new_file.txt
>
> That will remove the asterisks from "file.txt" and dump the result 
> into "new_file.txt"
Fantastic! Thank you. That does what I need. For my benefit, how does 
that command work?





More information about the ubuntu-users mailing list