Talk:Terminal control/Unicode output: Difference between revisions

From Rosetta Code
Content added Content deleted
(Embedding Awk in the Unix shell example!?!)
 
Line 1: Line 1:
==Unix shell embedding Awk?==
==Unix shell embedding Awk?==
Surely you can check an environment variables value in the shell, without the need to call Awk. As it stands, it doesn't seem to be a good example of using the Unix shell. --[[User:Paddy3118|Paddy3118]] 07:59, 11 September 2011 (UTC)
Surely you can check an environment variables value in the shell, without the need to call Awk. As it stands, it doesn't seem to be a good example of using the Unix shell. --[[User:Paddy3118|Paddy3118]] 07:59, 11 September 2011 (UTC)
:We cannot check for substrings on a Bourne shell, so we have to use AWK. Other shell implementation may not need to do this of course. [[User:Markhobley|Markhobley]] 08:02, 11 September 2011 (UTC)

Revision as of 08:02, 11 September 2011

Unix shell embedding Awk?

Surely you can check an environment variables value in the shell, without the need to call Awk. As it stands, it doesn't seem to be a good example of using the Unix shell. --Paddy3118 07:59, 11 September 2011 (UTC)

We cannot check for substrings on a Bourne shell, so we have to use AWK. Other shell implementation may not need to do this of course. Markhobley 08:02, 11 September 2011 (UTC)