Hi All,
can execute dos2unix only *.sh file or any other file like *.txt or any file .
if execute dos2unix on other format extensions (.xml or .txt or *.cer ) file will be deployable or not .
could you please share your valuable information .
Hello @jeesshnasree,
Like all linux commands which can take one or several files as parameters (such as ls, cat, rm), dos2unix allows the use of a bash glob pattern like *.sh or *.txt. The shell will expand that glob pattern into the list of all actual files matching that pattern before actually calling the command.
Any text file (like xml, txt or cer) is a valid input for dos2unix.
Hello @jeesshnasree,
Like all linux commands which can take one or several files as parameters (such as ls, cat, rm), dos2unix allows the use of a bash glob pattern like *.sh or *.txt. The shell will expand that glob pattern into the list of all actual files matching that pattern before actually calling the command.
Any text file (like xml, txt or cer) is a valid input for dos2unix.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.