Skip to content

Instantly share code, notes, and snippets.

@xiyoulaoyuanjia
Last active February 19, 2019 08:34
Show Gist options
  • Save xiyoulaoyuanjia/48144fd4befc86682cb8f71e7fc2327e to your computer and use it in GitHub Desktop.
Save xiyoulaoyuanjia/48144fd4befc86682cb8f71e7fc2327e to your computer and use it in GitHub Desktop.
awk -f file.dat.awk file.dat > new_file.dat
## file.dat.awk
begin
{
print substr($0,1,254)"**************""*****"substr($0,19)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment