Posts by SHAMAN • 1 point
1 post
-
0
votes2
answers1690
viewsA: Manipulate Data with Date command
The ideal would be to put some lines of the file for better reference, but based on your command line I believe this resolves. sed -i -r "s/:([^-]+-)[^-]+/:\1$(date +%m)/" arquivo…
shell-scriptanswered SHAMAN 1