--- Begin Message ---
Subject: |
grep awk errors |
Date: |
Fri, 6 Dec 2019 11:12:25 +0000 |
address@hidden
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
I have started to get this sort of messages with awk and grep.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Windows Subsystem for Linux Distributions:
Ubuntu-18.04 (Default)
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
whrads@HHA:/mnt/c/Users/whrads/Downloads$ cat Exported*.txt | sort |
uniq > ZcatSort.txt
whrads@HHA:/mnt/c/Users/whrads/Downloads$ awk !visited[$0]++
Exported*.txt > ZawkVisited.txt
-bash: !visited[: event not found
whrads@HHA:/mnt/c/Users/whrads/Downloads$ grep -E -i -h
\.gif|\.jpeg|\.jpg|\.png|\.webp|\.gifv|\.mp4 Exported*.txt > ZImage.txt
.jpg: command not found
.mp4: command not found
.gifv: command not found
.png: command not found
Command '.jpeg' not found, did you mean:
Command '.webp' not found, did you mean:
command 'djpeg' from deb libjpeg-progs
command 'cwebp' from deb webp
command 'djpeg' from deb libjpeg-turbo-progs
command 'vwebp' from deb webp
command 'cjpeg' from deb libjpeg-progs
command 'dwebp' from deb webp
command 'cjpeg' from deb libjpeg-turbo-progs
Try: sudo apt install <deb name>
Try: sudo apt install <deb name>
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#38510: grep awk errors |
Date: |
Fri, 6 Dec 2019 15:59:22 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2 |
On 12/6/19 3:12 AM, Sate S A wrote:
whrads@HHA:/mnt/c/Users/whrads/Downloads$ awk !visited[$0]++
Exported*.txt > ZawkVisited.txt
-bash: !visited[: event not found
This sort problem is not related to grep or awk; it's a message from
'bash' indicating you haven't quoted the command-line arguments correctly.
--- End Message ---