DOS/ASCII format text files traditionally have carriage return and line feed pairs as their newline characters while Unix text files have the line feed as their newline character. These carriage returns will cause error while executing these patches/ shell script on a Linux system.To avoid such issues, we need to first copy the patch file to Airwave server and run one of the following command from Airwave command line to convert the file to binary/unix format using any one of the following command based on the package availability.Convert Dos TO Unix Using tr command: # tr -d '\r' < input.file > output.fileConvert Dos TO Unix using perl command: # perl -pi -e 's/\r//g' input.file
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.