On 8/12/2020 1:54 PM, Morten Kjærulff via Cygwin wrote:
Hi,
This script:
#!/bin/sh
echo hello >hello.txt
ls -l
cat hell*
cat < hell*
gives me:
$ ./t.sh
total 2
-rw-r--r-- 1 vp01mkf Domain Users 6 Aug 12 19:51 hello.txt
-rwxr-xr-x 1 vp01mkf Domain Users 60 Aug 12 19:51 t.sh
hello
./t.sh: line
On 8/12/2020 4:07 PM, Andrey Repin wrote:
Greetings, Morten Kjærulff!
This script:
#!/bin/sh
echo hello >hello.txt
ls -l
cat hell*
cat < hell*
gives me:
$ ./t.sh
total 2
-rw-r--r-- 1 vp01mkf Domain Users 6 Aug 12 19:51 hello.txt
-rwxr-xr-x 1 vp01mkf Domain Users 60 Aug 12 19:51 t.sh
h
Greetings, Morten Kjærulff!
> This script:
> #!/bin/sh
> echo hello >hello.txt
> ls -l
> cat hell*
> cat < hell*
> gives me:
> $ ./t.sh
> total 2
> -rw-r--r-- 1 vp01mkf Domain Users 6 Aug 12 19:51 hello.txt
> -rwxr-xr-x 1 vp01mkf Domain Users 60 Aug 12 19:51 t.sh
> hello
> ./t.sh: line 5: hell
On 8/12/2020 1:54 PM, Morten Kjærulff via Cygwin wrote:
Hi,
This script:
#!/bin/sh
echo hello >hello.txt
ls -l
cat hell*
cat < hell*
gives me:
$ ./t.sh
total 2
-rw-r--r-- 1 vp01mkf Domain Users 6 Aug 12 19:51 hello.txt
-rwxr-xr-x 1 vp01mkf Domain Users 60 Aug 12 19:51 t.sh
hello
./t.sh: line
Hi,
This script:
#!/bin/sh
echo hello >hello.txt
ls -l
cat hell*
cat < hell*
gives me:
$ ./t.sh
total 2
-rw-r--r-- 1 vp01mkf Domain Users 6 Aug 12 19:51 hello.txt
-rwxr-xr-x 1 vp01mkf Domain Users 60 Aug 12 19:51 t.sh
hello
./t.sh: line 5: hell*: No such file or directory
But if I change line
5 matches
Mail list logo