Search Results

Search: Posts Made By: chandana hs
1,386
Posted By chacko193
It might have been used by the developer for...
It might have been used by the developer for debugging purposes. There might have been a condition there earlier for debugging and now its been replaced by true.
1,386
Posted By Don Cragun
I'm not sure what you mean by "if true loop". ...
I'm not sure what you mean by "if true loop". There is no loop here.

The only time I have seen code like this is during development where true is a placeholder for code to be added later. (But...
2,432
Posted By learnbash
Run your script like that. Method 1: ...
Run your script like that.



Method 1:

nohup yourscript.sh &

Method 2:
- start the process from console
- send it to background CTRL + Z
- then disown -a
2,033
Posted By Subbeh
You could try something like this as well if you...
You could try something like this as well if you don't mind the trailing slash being removed:

sed 's/\\$//g' file | while read line ; do echo $line ; echo "*****************" ; done
2,033
Posted By Don Cragun
... ... ...[/QUOTE] Actually the original...
... ... ...[/QUOTE]
Actually the original script removes leading spaces and tabs; if a line ends with \, the backslash is discarded and the following line is added to the current line (repeating...
2,033
Posted By Don Cragun
Try: while IFS='' read -r line do printf...
Try:
while IFS='' read -r line
do printf "%s\n*****************\n" "$line"
done < "$1"
1,594
Posted By Don Cragun
Again, if you don't show us your input file, we...
Again, if you don't show us your input file, we can't guess at what might be present in the input file that is making you think this code isn't working. Which awk command is confusing you?

The...
1,594
Posted By Jotne
Can you post the file inspect_64d_36998 You...
Can you post the file inspect_64d_36998
You should also change " to ' in awk
awk -F">20" '/Cyclomatic complexity/ && /;add;/{print \$1}' inspect_64d_369980

And its better to use $() instead of...
2,971
Posted By bakunin
Instead of "screen" you should consider using the...
Instead of "screen" you should consider using the command "nohup". Have a look in the man page and search this forum for many examples on how to use it. If you still have questions, report back with...
Showing results 1 to 9 of 9

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