You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It works fine in AWK as implemented as GNU Awk 5.2.1. Or put it in a script e.g.,
#!/usr/bin/gawk -f# name : indent.awk# purpose: indent comment lines starting on column 1 by three additional leading spaces# either run the script by## ```# $ awk -f ./indent.awk my_code.f90# $ ./indent.awk my_code.f90 # after provision of the executable bit to the script# ```
{ if ($0~ /^!/) print""$0; elseprint$0}
Is it possible to add an option to do this within the programme? Thanks for the great project!
The text was updated successfully, but these errors were encountered: