Search Results

Search: Posts Made By: inkjoy00
3,572
Posted By inkjoy00
Sorry. I didn't fully write the code. It should...
Sorry. I didn't fully write the code. It should delete all "/* */" in the file_name.c


#!/bin/bash

read "cat file" // User will input command cat file_name.c
if [ '$file == $file.c ]; // Must...
3,572
Posted By inkjoy00
BASH Shell Scripting: If, Then Statement
I'm having trouble trying to create a BASH shell script.

I want the user to input a command "cat file_name.c" and then the shell script will delete all comments "/* */" from file_name.c else...
Showing results 1 to 2 of 2

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