Search Results

Search: Posts Made By: nezabudka
20,797
Posted By nezabudka
Hi How about sed? sed -r...
Hi
How about sed?
sed -r ':1;s/^([^,]+)\s*,\s*([^;]+);/\1, \2\n\1, /;t1' file
Name , Company_Worked (Header)
Asley, IBM
Asley, Amazon
Asley, BOA
Asley, Google
King.Jr, Wipro
King.Jr,...
24,921
Posted By nezabudka
Hi So, passed by ... grep...
Hi
So, passed by ...
grep --include=*.{org,texi}

--- Post updated at 22:03 ---


Maybe I misunderstood something
grep -hrm8 '.' --include=*.{org,texi} ./
81,611
Posted By nezabudka
Hi Try closing the stderr descriptor at the...
Hi
Try closing the stderr descriptor at the beginning of the script.
exec 2>&-
or redirect
exec 2> /dev/null
167,228
Posted By nezabudka
Hi @bedtime thank you. Indeed, translating...
Hi @bedtime
thank you. Indeed, translating into French is much more complicated.
I tagged a release in v2.0.0 with support for multi-line subtitles.
Maybe this will change the situation? In...
167,228
Posted By nezabudka
Hi file Mother.srt Mother.srt: UTF-8 Unicode...
Hi
file Mother.srt
Mother.srt: UTF-8 Unicode text, with CRLF line terminators
sed -i 's/\r//g' Mother.srt
file Mother.srt
Mother.srt: UTF-8 Unicode text

./to.sh Mother.srt
parameters...
7,009
Posted By nezabudka
cat pattern.txt chr1 1000 2000 chr1 ...
cat pattern.txt
chr1 1000 2000 chr1 10000 11000
chr1 1000 2000 chr1 11000 12000
chr1 1000 2000 chr1 12000 13000
cat DB_file.txt
chr1 1000 ...
167,228
Posted By nezabudka
Hi I added a description to the repository....
Hi
I added a description to the repository. your 'seq' swears either at the wrong format or at the absence of a parameter. Try in the terminal first:
seq -f'(%.f)' 5
If everything works well then...
167,228
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...
5,792
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\/'...
4,602
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 * * * *...
4,602
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.
6,024
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...
6,024
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}...
167,228
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 :)
167,228
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....
62,583
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...
13,492
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...
70,173
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...
13,492
Posted By nezabudka
I will try to install 'lftp'
I will try to install 'lftp'
7,619
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:...
7,158
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...
7,248
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
11,686
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 ...
7,158
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:...
7,912
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...
Showing results 1 to 25 of 209

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