Reputation
2,373
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
6 23 59
Impact
~460k people reached

May
1
comment Access individual lines of a text file and create separate text file with that name
I see, so the $(…) is needed. But that adds another complication layer about the spaces in the file. I have no idea how to quote that properly. How come you have the most upvotes with a program that cannot cope with spaces‽
May
1
comment Access individual lines of a text file and create separate text file with that name
If you seriously want to use Bash, be sure to read the list of pitfalls. If you think there are to many pitfalls, don't use Bash ;-).
May
1
revised Access individual lines of a text file and create separate text file with that name
Add wget for download
May
1
comment Access individual lines of a text file and create separate text file with that name
Indeed, it will put all the words of both files into the same line. It will then use the first word as the name of the file and the second word as the content. This means that if text1.txt contains two words or more, everything of text2.txt is ignored. – And why did you wrap it in $(…)?
May
1
revised Access individual lines of a text file and create separate text file with that name
Use an unordered list.
May
1
reviewed Approve Reduced battery life with ubuntu 15.04
May
1
reviewed Approve How to install Visual Studio Code on Ubuntu?
May
1
revised Access individual lines of a text file and create separate text file with that name
added 53 characters in body
May
1
comment Access individual lines of a text file and create separate text file with that name
You need $1 instead of #1 for the first command line argument. And text2 seems to be fixed, why not use $2.
May
1
comment Access individual lines of a text file and create separate text file with that name
You mean since paste used tab as a delimiter?
May
1
comment Access individual lines of a text file and create separate text file with that name
That will break once f contains a space. You need to use quotes there: "$f.txt".
May
1
awarded  Custodian
May
1
reviewed Approve Access individual lines of a text file and create separate text file with that name
May
1
answered Access individual lines of a text file and create separate text file with that name
Apr
24
revised Upgrade to Kubuntu 15.04 broke settings and Akonadi
Explain change of backend
Apr
24
revised Upgrade to Kubuntu 15.04 broke settings and Akonadi
Add more information from forums comment
Apr
24
asked Upgrade to Kubuntu 15.04 broke settings and Akonadi
Apr
24
asked KDE Plasma Panel is not in the background when using Awesome WM
Apr
24
comment How to Upgrade from 14.10 to 15.04
You can call it without sudo and it will ask for the password in the process.
Apr
24
comment 15.04 upgrade problems
The new KDE uses KDE Frameworks 5, the previous one used 4. The slash screen might be handles by SDDM now, previously LightDM was used.