I've noticed an unexpected behavior with the ls_extended binary when it's copied to /usr/local/bin/ls using the sudo cp command. Instead of behaving like the standard ls command, it outputs the contents of a folder as if it was invoked with the -l option.
Steps to Reproduce:
Download and compile the ls_extended binary.
Copy the ls_extended binary to /usr/local/bin/ls using the following command:
sudo cp ls_extended /usr/local/bin/ls
Navigate to a directory with subdirectories and files.
Run the ls command in the directory.
Observe the output, which is different from the expected behavior of the standard ls command.
Expected Behavior:
The ls command, when invoked after copying ls_extended to /usr/local/bin/ls, should display a basic list view of files and directories, similar to the standard ls command, without the -l option.
Actual Behavior:
The ls command, after copying ls_extended to /usr/local/bin/ls, is displaying the contents of a folder as if it was invoked with the -l option, which includes detailed information about files and directories.
Additional Information:
ls_extended Version: 1.0
Operating System: linux mint
Screenshots/Additional Context:
Note: Please let me know if there is any specific configuration or behavior-related information that would help diagnose and resolve this issue.