Re: Shell scripts: determining filename length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'd use the wc command with the -m flag to ge the number of charactes used 
in the file name. You could use an awk substr to mod the name if longer than 
64.

-- 
Magnus Andersen
Systems Administrator / Oracle DBA
Walker & Associates, Inc.
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux