LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-10-2015, 07:37 AM   #16
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946

Quote:
Originally Posted by ron7000 View Post
all i needed was some basic code, in fact all it amounted to was the if then fi syntax using an -s command. if someone posted that code... then someone said hey that's not bad but consider coding it this way and posted some code, is this not a programming forum? it would have helped me.
Sure is a programming forum, and we all would have been happy to help you with your program...but you didn't ever POST ONE, or show us you put any effort at all into solving your own problem. No, we're not going to give you handouts.
Quote:
but no, everyone on their high horse like we're in a classroom tells me to look it up on the web and do the work myself. my response was frustration. I was going to respond the next day but i would have tested your profanity filter.

here's my mature response, you guys have a nice life.

jeremy, you just a lost a member. you can delete my account here, this site is not helping me anymore. feel free to delete anything i have ever posted here, especially if it contained code. btw here's now you help:
https://forums.suse.com/showthread.p...g-diff-command
You do realize that you just proved what we were telling you, right?? You looked, AND FOUND AN EXAMPLE, and based your code on it. Which is EXACTLY what you were told to start with. Which you are now complaining about, since we didn't spoon-feed you that link/example.

If you want to ask for handouts then complain/whine/'test the profanity filter', that's up to you. If you want to ask for help from people, then display some effort and be polite.
 
Old 11-10-2015, 07:46 AM   #17
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,876
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by ron7000 View Post
all i needed was some basic code,
in fact all it amounted to was the if then fi syntax using an -s command.
Last I checked this was exactly what I recommended, that you look at the -s option for BASH file test operators and gave you a reference for file test operators because cutting and pasting that entire subject into the thread would be wasteful, it is a lot of text.

Yes this is basic code.

You showed rudimentary BASH capabilities in your first post in this thread.

So therefore common sense to me would be that once you were told to use a file test operator, that you would have attained your desired result nearly immediately.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
check if file is empty using awk lokesh.talk Linux - Newbie 3 07-03-2015 02:03 PM
Scripting Help--Check empty string condition (not null, but empty!) sungchoiok Linux - Newbie 4 01-01-2012 03:46 PM
[SOLVED] Bash shell script to check the if empty files are being created & start the process hussa1n Linux - General 8 06-29-2010 05:49 PM
How can I make my script check to see if a file is empty? spiffytech Linux - Software 6 01-01-2006 09:35 AM
How can I check wether a file is empty in Linux by using shell script programming ??? Bassam Linux - General 2 02-26-2004 01:01 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:40 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration