Shell File Manager
Current Path : /usr/share/awk/ |
|
Current File : //usr/share/awk/noassign.awk |
# noassign.awk --- library file to avoid the need for a
# special option that disables command-line assignments
#
# Arnold Robbins, [email protected], Public Domain
# October 1999
function disable_assigns(argc, argv, i)
{
for (i = 1; i < argc; i++)
if (argv[i] ~ /^[[:alpha:]_][[:alnum:]_]*=.*/)
argv[i] = ("./" argv[i])
}
BEGIN {
if (No_command_assign)
disable_assigns(ARGC, ARGV)
}
Shell File Manager Version 1.1, Coded By Shell
Email: [email protected]