Search Results

Search: Posts Made By: thailand
869
Posted By thailand
Moving fields
Hello
I have a file with this content
=============================================================
1, Het Juvenalis dilemma, Digital fortress, 1998
2, Het Bernini mysterie, Angels &...
1,590
Posted By thailand
Bash-completion on shell script
Hello
I want use bash_completion on a script but the information on the internet give me not a solution.
The scrip start with "cd" to a direction
Than the script do "ls"
Than I must give a name...
924
Posted By thailand
Both solutions work. Thanks
Both solutions work.
Thanks
924
Posted By thailand
Put numbers after word
Hello
I have an file with this content
--------------------------------------------
timer
one
timer
two
timer
three
timer
four
timer
five
timer
six
timer
seven...
985
Posted By thailand
hallo The awk solution works for me. So...
hallo
The awk solution works for me.
So thanks to Peasant
985
Posted By thailand
Change numbers
Hallo
This is the content of the file
3
4
5
6
7
8
9
10
11
12
And I want the following output
1
2
3
4
5
6
7
2,016
Posted By thailand
Systemd
Hallo
I don't know where to put my question so I put it here.
I want that systemd let run a script but only on shutdown or reboot
and before the system umount the mounted devices.
I look on...
1,364
Posted By thailand
hello this code do the thing awk '{ if ($0 ~...
hello
this code do the thing
awk '{ if ($0 ~ /[a-z]$/) {print $0"..."} else {print $0} }' RS="" ORS="\n\n" file
thanks for the help.
I want to close this thread but don't know how?
1,364
Posted By thailand
I'm gone try this possible solutions but I can't...
I'm gone try this possible solutions but I can't use the solution from shamrock because the words are examples so in every file I have different words but anyway thanks.

---------- Post updated...
1,364
Posted By thailand
Put three points at the end of a line
Hello
I have a file like this
Anyway, if you are sincere
in finding the druid Alcuin

then you're going to need ships.

die with the faith that you
have stood shield to shield

with your...
Forum: Ubuntu 06-21-2013
2,211
Posted By thailand
I found a solution on this website Add ISO...
I found a solution on this website
Add ISO image to apt sources.list (http://linuxconfig.org/add-iso-image-to-apt-sourceslist)
and this works now.
But thank you anyway
Forum: Ubuntu 06-20-2013
2,211
Posted By thailand
Install deb from alternate usb
I installed a command-line system ubuntu 12.04 from usb and that's work.
I don't have a internet connection so what I have to install must come from the alternate usb until I can let work my...
Forum: Ubuntu 08-22-2012
3
4,938
Posted By thailand
ssmtp
I installed sSMTP in ubuntu 12.04
This works goed but I have two problems and I don't
find a answer with google.
I don't find how to stop sSMTP so this server only
works when I want.
sudo...
2
2,379
Posted By thailand
exim4
I want to send mail with a bash script.
I look on the internet what I have to do.
I installed exim4 and mailutils.
than I do sudo echo "Yay - SMTP works" | mail -s "Test email" mail-address"
...
1,443
Posted By thailand
join lines in file
I have a file like this:
---------------------------------------------------------------
26
00:04:48,440 --> 00:04:51,440
I don't know why he can't just do
the Great Apache Flaming Arrow Act.
...
2,208
Posted By thailand
Thanks very much Scrutinizer and rangarasan. ...
Thanks very much Scrutinizer and rangarasan.
These 2 solutions works the way I need it.
How you make these codes I don't understand it, maybe I'm to old for to learn this but I'm trying.
...
2,208
Posted By thailand
for Scrutinizer I have the error awk: wrong...
for Scrutinizer
I have the error awk: wrong classename: /[[:word][:space:],]$/

for rangarasan
I have the error
awk: commandrule;1: fatal: can't file '/ $/ ||...
2,208
Posted By thailand
String manipulation
I want to do the next

"I don't want to go school
because I'm sick today."

I want to join these two line but only when the first line is not more than 20 characters
and ended whit nothing or a...
7,414
Posted By thailand
thank you very much Scrutinizer...
thank you very much Scrutinizer (https://www.unix.com/members/302052697.html)

I don't understand why my other scripts works without converthing but I learn again.
7,414
Posted By thailand
I try now over thirthy solutions that I find on...
I try now over thirthy solutions that I find on the internet and nothing do what I want, so I believe I do something very wrong and I don't see it.
This is the input

This is my cat,
her name is...
7,414
Posted By thailand
The problem is that I louse always the first line...
The problem is that I louse always the first line and that can't.
I look again to the internet for to find a solution.
But thanks anyway.
7,414
Posted By thailand
the input is like this This is my cat my...
the input is like this

This is my cat
my cat's name is betty

This is my dog
my dog's name is frank

This is my fish
my fish's name is george

This is my goat
my goat's name is...
7,414
Posted By thailand
join two lines
I want to join this two lines but only when after him
I have nothing or a comma

Yes, I know Jonesy, and I'll give him
about one more minute.

this two lines must become
Yes, I know Jonesy,...
2,363
Posted By thailand
delete the last hyphen
I want to check for more than one hyphen and then hold the first one and delete the rest of the hyphen.
I try something like this sed 's/\([-]*\)\1/\1/' but this doesn't work.
I try something...
1,900
Posted By thailand
sed problem with double point
I have a problem with the next text

00:00:27,761 --> 00:00:31,094
MADSO: Boston. Southie. I was born here.

00:00:31,197 --> 00:00:36,692
Never left. Never had any reason.
Good friends,...
Showing results 1 to 25 of 27

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