Search Results

Search: Posts Made By: zzol
2,262
Posted By zzol
>./a.pl works, >a.pl - does not
When I try to execute script, I get message:
>aa.pl
zsh: command not found: aa.pl

but
>./aa.pl

works OK.

What to change in environment to force the former way to work?

Thank you,...
4,761
Posted By zzol
It was from python script and I found the error....
It was from python script and I found the error. Thank you anyway.
Alex Z
4,761
Posted By zzol
pscp.exe trasforms a.sh to 'a.sh '
When I upload from win XP client through ssh with pscp.exe file a.sh, I get on server file with a blank in the name: 'a '

>ls -alF *sh* |cat -vet - ...
182,890
Posted By zzol
zsh
I use only zsh and like it.
17,307
Posted By zzol
Thanks, it's a better way than that I tryed to...
Thanks, it's a better way than that I tryed to do, because for use join I have to sort file A originally and it's ~ N log(N) operations, so using join is good if A is sorted.
17,307
Posted By zzol
I specified zsh in the first line of thread :) ...
I specified zsh in the first line of thread :) but if a code works in bash or ksh it usually works in zsh.
File A could be ~1e7 - 1e8 lines (in reality it's a set of files), B ~ e6 lines; really...
17,307
Posted By zzol
Thanks, the line paste =(cut -c1-3 p2) p1 ...
Thanks, the line

paste =(cut -c1-3 p2) p1

in zsh returns "Hel Hello", if p1, p2 are files rather than pipes.

What I really need is to use "join" to join 2 text files by the fieild in fixed...
17,307
Posted By zzol
Sorry, I tryed to apply it to a little bit more...
Sorry,
I tryed to apply it to a little bit more complicated example

mkfifo p1 p2
echo "Hello" | tee p1 > p2 &
paste =(cut -c1-3 p2) p1

and failed again; at this time changing order p1 and...
17,307
Posted By zzol
Thank you very much!
Thank you very much!
17,307
Posted By zzol
tee into 2 named pipes
The following code does not work (zsh, Solaris), but works without the first line (files instead of pipes) :confused:

mkfifo p1 p2
echo "Hello" | tee p1 > p2 &
paste p1 p2

I would high...
Showing results 1 to 10 of 10

 
All times are GMT -4. The time now is 11:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy