<caption><image_85>The image is a blackboard with white text written on it. The text reads "if command then true commands else false commands". The text is written in a simple, sans-serif font and is centered on the blackboard. The background of the image is black.</caption> syntax of a simple if statement the word if is followed by a command line that you wish to execute if that command line succeeds the commands after the keyword van are executed you also can have an else section test that section would be executed if the command failed the entire if statement terminates with the word if spelled backwards fi I need to test when the user enters a name whether that name is already in the phone list or not I can do that with this if test I need to be very careful about rejecting false duplicates as a result the grep command here searches for an exact match of the names that's why I'm searching for the last name a comma space the first name and then a tab the names must match exactly for this to report a duplicate if the grep command succeeds the user is trying to enter a name already in the list if the grep command doesn't succeed the user is entering a name that is not in the list and we should continue on allowing them to enter the phone number because there are two different sets of commands I want to execute I'm going to use an
{"source": "grass-yt-cc-by.1WC2nTfUVqg|shard_100|create_multimodal_data.extract_yt_and_generate_transcripts.48|shard_100|create_multimodal_data.generate_captions.48", "params": {"id": "1WC2nTfUVqg", "channel_id": "UCCi5cj3gQeb7hhs31xUN1tQ", "duration": 4072, "view_count": 93, "age_limit": 0, "like_count": 0, "channel_follower_count": 1040, "license": "Creative Commons Attribution license (reuse allowed)", "uploader_id": "@mieb-wiedaschaun", "yt_tar_file": "/leonardo_work/EUHPC_E03_068/audio/fixed_download/grass-yt-cc-by//shard_100/1WC2nTfUVqg.tar.gz"}}