Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Sintaxis
- sed -i "[Linea] s/.*/[Nuevo texto]/" [Archivo]
- # Ejemplo
- sed -i "3 s/.*/Reemplace todo de la linea 3/" Archivo.txt
- # Donde se reemplazará todo lo que está en la linea 3 del archivo "Archivo.txt".
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement