How to write a shell script which searches the current UNIX directory and returns the names of all files of type ASCII text? I tried this:
#!/bin/bash
echo -n "Enter a letter:"
read A
echo ${A}|od -t d1|awk '{printf "%s",$2}';echo
How to write a shell script which searches the current UNIX directory and returns the names of all files of type ASCII text? I tried this:
#!/bin/bash
echo -n "Enter a letter:"
read A
echo ${A}|od -t d1|awk '{printf "%s",$2}';echo