Skip to main content
Tweeted twitter.com/StackUnix/status/1103581233106374656
Became Hot Network Question
edited tags
Link
Jeff Schaller
  • 68.8k
  • 35
  • 122
  • 264
Source Link
terreys
  • 71
  • 1
  • 1
  • 4

is 'sed' thread safe

If I have a shell/python script that uses sed to modify a file in place based on user inputs, and then two users run the same script at the same time or approx. same time, is 'sed' thread safe ? Or perhaps it is not an issue because the file_descripor that was opened by the first thread will be used to lock the file anyway ? thx