Unix script to remove the first line of a CSV file

后端 未结 4 1992
面向向阳花
面向向阳花 2020-12-23 11:21

I\'ve stated before I\'m not very good at scripting so what I have below copies files from a share directory to mine where I change their permissions. But then I wanted to r

4条回答
  •  难免孤独
    2020-12-23 11:57

    While looking for this answer I also found this other thread. There they say use tail, which doesn't actually make an modifications which is what the OP wanted. You could over course copy to a temporary file. Additionally, if you were going to stream the files into another tool, you could use 'tail' in a pipe and never have to write temporary files or write to disk.

    How can I remove the first line of a text file using bash/sed script?

提交回复
热议问题