Search Results

Search: Posts Made By: tastybrownies
2,895
Posted By tastybrownies
Actually this thread can now be disregarded. I...
Actually this thread can now be disregarded. I just found a solution to my problem using this regular expression and notepad++. I went and reverted my previous edits and started fresh with the file....
2,895
Posted By tastybrownies
[Solved] Cutting commas after the second occurrence in a line
Hello everyone,

I am manipulating a large CSV file and am trying to read it into a program and started running into trouble. The have manually edited the file trying to make it correctly run...
2,034
Posted By tastybrownies
After more investigation it looks like I just...
After more investigation it looks like I just answered my own question. It can just be a one line in a bash script::)


echo -e "BYTES | FILENAME\n"
find . -name *.tar.gz -printf "%s %p\n" |...
2,034
Posted By tastybrownies
Sorting riles by size with -nr
Hello everyone,

I am working on this bash script and I can't seem to get this last part right. It's really trivial but I must not be doing something right. I want to sort files by their size in...
3,161
Posted By tastybrownies
Yes, the line itself always begins and ends with...
Yes, the line itself always begins and ends with a quote. I will try both of your solutions and report back as soon as I can. Thank you very much for your guidance and help.
3,161
Posted By tastybrownies
I didn't know that it was that non trivial of a...
I didn't know that it was that non trivial of a task. My mistake. The thing is that the " " inside the " " occur in random places.

"Of course, never say never. This is perhaps a "See you...
3,161
Posted By tastybrownies
Removing quotes within quotes
Hello everyone,

I am working on a file with thousands of lines and instead of manually removing them I need a script to remove quotes within quotes. For example a line may have something such as...
2,537
Posted By tastybrownies
Getting a command not found when comparing in tsch
Hey everyone,

I am almost done with this assignment I have to do but there is one last thing nagging me that I can't seem to find. In my script I am feeding line by line to a ./test file and I am...
11,094
Posted By tastybrownies
Yes, you are correct in what you say about the...
Yes, you are correct in what you say about the sum. Either doing that or seeing whether the return line provided from the function is the same as the one in the testcase file. I know diff works for...
11,094
Posted By tastybrownies
Actually I think I have a better understanding of...
Actually I think I have a better understanding of what I'm after now. I wrote out some psuedo code with what I'm trying to do but am unsure how to get each line from a file and send each line to the...
11,094
Posted By tastybrownies
Reading in two lines at once from a text file
Hello everyone,

I have thought about this for quite some time and know what I want to do but am having some trouble at it. I have a text file filled with numbers like this, there are more in the...
7,195
Posted By tastybrownies
The script to put files from a certain area to...
The script to put files from a certain area to the recycling bin already works. The one with the choice of d, r, or s does not. In this instance I am forced to use tsch because this is academic in...
7,195
Posted By tastybrownies
Restoring a file to its original location
Hello everyone,

I am attempting to make a recycling bin type application in shell script (tcsh). I have the whole part of the application done where someone can recycle files from one location to...
1,885
Posted By tastybrownies
Can't add directory to path correctly
Hello everyone I am a newcomer to UNIX and I have hit a snag in something that would probably take experienced people about 30 seconds. Long story short I am trying to add a directory to my PATH and...
Showing results 1 to 14 of 14

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