Do the images not have an alt text that you could use?
Use awk, not sed: awk ' BEGIN { filename = "/dev/null" } /^OBJECT/ { filename = $2 "_" $3 } { print > filename } ' "$FILE"
It might not be any faster, but try this: locate '/usr/file_manager_2007/*' | while read file do [ -f "$file" ] && setfacl -m...
Use patch, not sed. However, if you just want file1 to be the same as file2, why not copy file2 to file1?
for i in `echo $*` is an inefficient way of writing for i in $*, which will break any arguments on whitespace (or whatever is contained in $IFS)....
Because I misread `echo $*` as `echo *`. Let me rephrase it: That is an unsafe way to operate on a list of parameters. Use: for i in...
That is an unsafe way to operate on a list of files. Use: for i in * do var=`printf "%s\n" "$i" | tr '[a-z]' '[A-Z]'` val=`which $WFU...
Most of what you are doing can be done with useradd itself. Read the man page. The (moderately) tricky part is encrypting the password. I use a...
Separate names with a comma.