Finding a file extension in a string using shell script

前端 未结 0 616
北海茫月
北海茫月 2020-11-29 17:25

I have a long string, which contains a filename somewhere in it. I want to return just the filename.

How can I do this in a shell script, i.e. using sed, awk etc?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题