Search Results

Search: Posts Made By: nezabudka
415
Posted By nezabudka
Hello A good idea. I also started up. nezabudka...
Hello
A good idea. I also started up. nezabudka / srt_to_ass . GitLab (https://gitlab.com/nezabudka/srt_to_ass)
I tried to work with your script, but since I have slow Internet, I was not able to...
103
Posted By nezabudka
Hi how about? grep '^outbox\/logs\/' temp.txt...
Hi
how about?
grep '^outbox\/logs\/' temp.txt | tail -1

--- Post updated at 11:35 ---

maybe so
grep '^outbox\/logs\/' temp.txt | sort -t_ -nk2,2.4 | tail -1
or
grep '^outbox\/logs\/'...
156
Posted By nezabudka
I will show better crontab -l #no tasks,...
I will show better
crontab -l
#no tasks, empty
echo '*/1 * * * * /usr/bin/notify-send "*******HELLO TO EVERYONE HERE ON OUR MOON******"' >my_file
crontab my_file
crontab -l
*/1 * * * *...
156
Posted By nezabudka
Hi If in the current directory where you ran...
Hi
If in the current directory where you ran this command there was an empty file with the name 'ccs',
then you probably deleted all your tasks. Just create new ones and that's it.
243
Posted By nezabudka
Slight optimization awk ' !A9[$1]++ ...
Slight optimization
awk '
!A9[$1]++ {A2[$1]=$3;A4[$1]=$5;A6[$1]=$6}
A2[$1]>$3 {A2[$1]=$3}
A3[$1]<$3 {A3[$1]=$3}
A4[$1]>$5 {A4[$1]=$5}
A5[$1]<$5 {A5[$1]=$5}...
243
Posted By nezabudka
I understand your idea. You have a list sorted by...
I understand your idea. You have a list sorted by ID and you process one ID at a time. You assume that the file being processed is too large for the memory allocated for this. I want to note the...
415
Posted By nezabudka
In the Fedora is install like this dnf install...
In the Fedora is install like this
dnf install translate-shell
And thank you
I liked the program, I’ll try to work with it. I’m just learning English :)
415
Posted By nezabudka
Or maybe just do throw an agent? GitHub -...
Or maybe just do throw an agent?
GitHub - soimort/translate-shell: Command-line translator using Google Translate, Bing Translator, Yandex.Translate, etc....
445
Posted By nezabudka
Need to refine error handling choose() { ...
Need to refine error handling
choose() {
select button in $@ Quit; do
case $button in
Quit)
echo $REPLY - $button
break
;;
"")
echo ERROR...
806
Posted By nezabudka
tmp=($(lftp -e "cd $REMOTE_DIR && glob -d echo...
tmp=($(lftp -e "cd $REMOTE_DIR && glob -d echo [0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]; quit" -u $USER,$PASS $HOST))
Or maybe you have access via the SSH protocol? For example, by public key...
Forum: Shell Programming and Scripting 2 Weeks Ago
989
Posted By nezabudka
Hello and welcome It’s customary to help on...
Hello and welcome
It’s customary to help on this resource, that is, you solve a problem and you don’t succeed or you’re stuck on something and don’t know how to continue. Therefore, if you have a...
806
Posted By nezabudka
I will try to install 'lftp'
I will try to install 'lftp'
371
Posted By nezabudka
Ok, The right time to learn how to use the...
Ok, The right time to learn how to use the '--debug' option?
sort -k3nr --debug <<<"Server1 not found 1025 MAJOR some info here"
sort: text ordering performed using simple byte comparison
sort:...
667
Posted By nezabudka
Hi, @RudiC sed -r...
Hi, @RudiC
sed -r 's/^([^,]*,){2}bcd,.*,(.){4}.*/&,\2/'
The marked greedy expression contains all the available fields except the last one,
which means that in the positions noted by you, the...
582
Posted By nezabudka
Hi, @SanMota This can be solved by two commands...
Hi, @SanMota
This can be solved by two commands 'uniq' and 'sort'.
Do you work on the command line?
Show what you did and what exactly you can’t do
789
Posted By nezabudka
Hi, @RudiC awk ' NR==FNR {pat[$1] = $2 ...
Hi, @RudiC
awk '
NR==FNR {pat[$1] = $2
next
}
{print substr($0, 134, 12)
}
' FS='|' File2.txt File1.txt | cat -vet

606951-000 $
606951-000 $
607650-000 ...
667
Posted By nezabudka
Hi The string must be changed. Tools like awk,...
Hi
The string must be changed. Tools like awk, sed, and a shell script in the built-in programming language are suitable
This example on 'sed'
sed -r 's/([^,]*,){2}bcd,.*,(.){4}.*/&,\2/'
REMARK:...
638
Posted By nezabudka
Hi Because the shell must first create a...
Hi
Because the shell must first create a channel and then expand the variables.
And if it expands a variable, it skips the channel creation queue and tries to interpret the entire line as one...
559
Posted By nezabudka
Hi You can use the GNU extension - the 'asorti'...
Hi
You can use the GNU extension - the 'asorti' function in 'awk'
awk -F' *|-' -vm="$(LC_ALL=C locale ab_alt_mon)" '
BEGIN {for(n=split(m, M, ";"); n; n--) Mm[M[n]]=n}
{A[$7 Mm[$6] $5...
426
Posted By nezabudka
sed 'N;N;/5/ s/yes/no/' file sed...
sed 'N;N;/5/ s/yes/no/' file
sed '/^<alarmsend/{N;N;\%5</type>$% s/yes/no/}' file

--- Post updated at 13:44 ---

If you complicate the task as much as possible
sed -r '/^<alarm/...
609
Posted By nezabudka
Hi try so $(10) $(11) and so on (in awk) ...
Hi
try so
$(10) $(11) and so on (in awk)
${10} ${11} (in bash script)
Forum: What is on Your Mind? 4 Weeks Ago
769
Posted By nezabudka
Ok @Neo I'll try to collect telegram-cli from...
Ok @Neo
I'll try to collect telegram-cli from source https://github.com/vysheng/tg
Forum: What is on Your Mind? 4 Weeks Ago
769
Posted By nezabudka
telegram-desktop on fedora 30 8197
telegram-desktop on fedora 30

8197
240
Posted By nezabudka
Hi How about install dateutils ? datediff...
Hi
How about install dateutils ?
datediff 2020-03-04 2020-05-26
83
Forum: Shell Programming and Scripting 4 Weeks Ago
2,968
Posted By nezabudka
else in PCRE work such flag (?U:). I will put a...
else in PCRE work such flag (?U:). I will put a space so that it can be seen
cat file
abcdtest123^ DUMMY testabcd12234 DUMMY bla blabla12231311313blabla bla.....,,,,,bla
grep -oP...
Showing results 1 to 25 of 202

 

Featured Tech Videos

All times are GMT -4. The time now is 09:24 AM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy