Knowledge

Talk:True and false (commands)

Source đź“ť

82: 64: 33: 313:
I think this section is misleading. "It is also used as a no-op dummy command for side-effects such as assigning default values to shell variables through the $ {parameter:=word} parameter expansion form.". Looking at the reference, there's nothing about $ {parameter:=word} and whilst that does set
173:
Just possibly that in SCO (and probably other SYSV variants that /bin/true is (was) actually a 0 length file. With no "magic" in the header, the shell presumed it a script. Immediately hitting EOF and having executed no failing instructions, the shell returned "success" which is 0 which is "true."
375: 130: 136: 338: 337:, the only requirement is for the return code to be non-zero. Linux seems to choose 1, as does the bash builtin, but on illumos (and Solaris?) it's 370: 314:
the value of the variable if it's empty, I don't believe this colon has anything to do with the null command (except that it's also a colon).
106: 295: 347: 279: 184: 380: 89: 69: 292:
All successful program executions are alike, but each of up to 255 failed program executions may fail in their own fashion
44: 32: 299: 351: 275: 188: 102: 319: 334: 50: 271: 343: 267: 180: 315: 216: 105:
on Knowledge. If you would like to participate, please visit the project page, where you can join
220: 165: 246: 205: 17: 355: 323: 303: 283: 250: 224: 209: 168: 364: 241:
are two different commands with different meaning. Article should be splitted. --
242: 201: 200:
true(unix) and false(unix) should be merged, since they make antagon things. --
81: 63: 98: 94: 26: 215:
You are an idiot. They are two different UNIX comands. --
93:, a collaborative effort to improve the coverage of 259:
Why not same classical logic has 1=true and 0=false
135:This article has not yet received a rating on the 8: 161:Is there anything more to tell about true? 30: 341: 58: 177:Possibly too trivial--I'm new here.... 60: 376:Unknown-importance Computing articles 7: 290:Because, with apologies to Tolstoy, 87:This article is within the scope of 49:It is of interest to the following 25: 80: 62: 31: 115:Knowledge:WikiProject Computing 371:Start-Class Computing articles 329:Is false required to return 1? 191:) 14:27, August 21, 2007 (UTC) 118:Template:WikiProject Computing 1: 356:21:56, 12 February 2020 (UTC) 251:22:44, 27 February 2010 (UTC) 109:and see a list of open tasks. 158:I've removed the stub entry 333:According to the standards 397: 324:12:34, 8 August 2019 (UTC) 304:19:19, 19 April 2018 (UTC) 137:project's importance scale 18:Talk:True and false (Unix) 284:18:07, 27 July 2010 (UTC) 210:22:37, 2 April 2008 (UTC) 169:04:56, 29 July 2006 (UTC) 134: 75: 57: 309:Setting variables with : 225:22:52, 31 May 2009 (UTC) 196:Merge with false (unix) 381:All Computing articles 263:Investigate and tell 103:information technology 39:This article is rated 183:comment was added by 90:WikiProject Computing 121:Computing articles 45:content assessment 358: 346:comment added by 287: 270:comment added by 192: 151: 150: 147: 146: 143: 142: 16:(Redirected from 388: 286: 264: 178: 123: 122: 119: 116: 113: 84: 77: 76: 66: 59: 42: 36: 35: 27: 21: 396: 395: 391: 390: 389: 387: 386: 385: 361: 360: 331: 311: 265: 261: 198: 179:—The preceding 156: 120: 117: 114: 111: 110: 43:on Knowledge's 40: 23: 22: 15: 12: 11: 5: 394: 392: 384: 383: 378: 373: 363: 362: 330: 327: 310: 307: 260: 257: 256: 255: 254: 253: 240: 236: 228: 227: 197: 194: 155: 152: 149: 148: 145: 144: 141: 140: 133: 127: 126: 124: 107:the discussion 85: 73: 72: 67: 55: 54: 48: 37: 24: 14: 13: 10: 9: 6: 4: 3: 2: 393: 382: 379: 377: 374: 372: 369: 368: 366: 359: 357: 353: 349: 345: 340: 336: 328: 326: 325: 321: 317: 308: 306: 305: 301: 297: 296:213.121.9.190 293: 288: 285: 281: 277: 273: 269: 258: 252: 248: 244: 238: 234: 232: 231: 230: 229: 226: 222: 218: 214: 213: 212: 211: 207: 203: 195: 193: 190: 186: 182: 175: 171: 170: 167: 162: 159: 153: 138: 132: 129: 128: 125: 108: 104: 100: 96: 92: 91: 86: 83: 79: 78: 74: 71: 68: 65: 61: 56: 52: 46: 38: 34: 29: 28: 19: 348:82.2.238.102 342:— Preceding 332: 312: 291: 289: 262: 199: 176: 172: 166:Carpetsmoker 163: 160: 157: 88: 51:WikiProjects 272:Foryourinfo 266:—Preceding 185:208.8.57.16 41:Start-class 365:Categories 316:rmwiseman 233:I agree. 112:Computing 99:computing 95:computers 70:Computing 344:unsigned 280:contribs 268:unsigned 217:BrownGez 181:unsigned 154:untitled 243:DaBler 202:Fixman 101:, and 47:scale. 239:false 352:talk 339:255. 335:here 320:talk 300:talk 276:talk 247:talk 237:and 235:true 221:talk 206:talk 189:talk 131:??? 367:: 354:) 322:) 302:) 294:. 282:) 278:• 249:) 223:) 208:) 164:-- 97:, 350:( 318:( 298:( 274:( 245:( 219:( 204:( 187:( 139:. 53:: 20:)

Index

Talk:True and false (Unix)

content assessment
WikiProjects
WikiProject icon
Computing
WikiProject icon
WikiProject Computing
computers
computing
information technology
the discussion
???
project's importance scale
Carpetsmoker
04:56, 29 July 2006 (UTC)
unsigned
208.8.57.16
talk
Fixman
talk
22:37, 2 April 2008 (UTC)
BrownGez
talk
22:52, 31 May 2009 (UTC)
DaBler
talk
22:44, 27 February 2010 (UTC)
unsigned
Foryourinfo

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.

↑