Needed 40 points to get to 200 daily rep . . . and got two accepted answers, total 40 points, but . . . 29 minutes after the UTC midnight . . . . dammit . . .
Can't complain, I still got my votes, but I wouldn't mind getting that daily rep cap too
Oh yes that 295 point answer that put me in the points lead for the year for a day :p. In the context of that answer it didn't really matter as the user wasn't using gedit properly in the first place.I'm not sure I understand apt-cache policies but I'll try to research it if I need to quote installed versions every again.
> *** Fair warning: Double-check your device to make sure that it has a USB-C port. I thought mine did - turns out it was the security lock opening. X|
Should I ping the OP to ask him to switch accept answer from first (which looks broken to me) and second which has twice the upvotes and looks ok? askubuntu.com/questions/299710/…
Wondering what should I do with a few implementations of GNU utils that I did. I've sort of curl , tail, and du implementations in python. I wanted to put them into a repository on GitHub, but I wonder how useful that would be . . .
Even though I disabled ufw, I still can't reach my localhost server... Can Ubuntu have several firewalls installed? Or does disabling ufw disables all possible firewalls?
The funniest thing just happened. Someone pinged me one line off of a graphic about disney ripping off a low budget film. 5 seconds later I'm looking at a WB job ad for Hydra studios, and all I could think was Hail Hydra
oh oops actually @terdon my answer is almost the same are your option2... didn't see your answer until I was ready to post... oh well shrug I guess it's OK
@JafferWilson Then the format of your file is not as you show. There is no size limit that could affect the solution I gave. There must be something else going on.
@JafferWilson What happens, exactly? Is there no output printed to the terminal? Works in the terminal but fails when redirected to a file? Any error messages?
@terdon here it is: sed 's#^#"http://#;s#$#"#' '/home/aims/Desktop/URL/URLs.txt' | tr "\n" "," | sed 's/,$/\n/' > o.txt perl -lne 'printf "\"http://$_\","' '/home/aims/Desktop/URL/URLs.txt' | sed 's/,$/\n/' > '/home/aims/Desktop/NewURL2.txt'
@terdon Yes it is working fine on terminal. But may be a problem for redirection to another file. No error yet.
That means you have Windows line endings, so each line ends with a \r\n. Since my command removes the \n, that will leave the \r and that has the effect of, basically, showing you nothing if you try to cat the file in the terminal .
@JafferWilson Yeah, I meant what does it contain. What makes you think it is empty?
@terdon after running this .. I need to run your command right? as you have answered it.. if your perl command work then I will surely accept your answer. But can you make changes to the answer you have mentioned previously?
@JafferWilson Yes, you need to run the command. And no, I don't want to change the answer since there was no mention of Windows files in the question. This is only necessary because you brought the file from Windows.
@terdon I agree with the close, although I'm not too bothered about that question being here, since it's likely of interest to many of our visitors shrug
@JafferWilson The tr one? That, unlike the sed, will create a new file (URLs.fixed in the example above) and you need to run the perl on the new file, not the original.
@terdon it's half - offtopic. I already edited it before to fit under software development . There's no software distribution tag, unfortunately, but oh well. I'm totally fine with that Q being closed
This morning, I ran into this question on code-sharing options. Reading through the answers, I very much liked the (at this moment highest voted) very nice overview by Serg.
The question mentioned OP wanted to share his custom scripts, written for Ubuntu. We may therefore assume OP is looking f...
@terdon I am just going to the location of output file and checking the size. Even after completion of the command I have opened it too to check if it has output. but the file size is 0 byte and the there is nothing
What you describe is basically impossible. If you see output on the terminal (and you confirmed that you do) then redirecting will work. So something very strange is going on.
Zanna's? If so, please remember to accept her answer. Although I don't see how hers could work and mine not (although hers will probably be faster). I still don't get what's going on here.
@terdon No its no ones answer but both of your answer is workable not in my case but for general... But still I will accept your answer as a reply to my query...:)
As ubuntu using debian based there are other flavors of it like KUbuntu, XUbuntu, Mate, EdUbuntu, Lubuntu so for example user is asking about mint or debian then those distros are based on debian then can I ask it here ? Or should I ask about it on Unix and Linux stack exchange ?